Skip to content

Commit de02a2d

Browse files
committed
fix
1 parent 1122875 commit de02a2d

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

crates/erc20_payment_lib/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ pub mod faucet_client;
1616
mod sender;
1717
pub mod server;
1818
pub mod signer;
19+
20+
pub use erc20_payment_lib_common::*;

crates/erc20_payment_lib/src/runtime.rs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,21 @@ impl StatusTracker {
166166
*old_missing = *new_missing;
167167
return true;
168168
}
169+
170+
(
171+
Web3RpcError {
172+
chain_id: id1,
173+
error: err1,
174+
},
175+
Web3RpcError {
176+
chain_id: id2,
177+
error: err2,
178+
},
179+
) if id1 == id2 => {
180+
err1.clear();
181+
err1.push_str(err2);
182+
return true;
183+
}
169184
_ => {}
170185
}
171186
}

0 commit comments

Comments
 (0)