Fix handling of `nonce too low` error (#643)
* fix: nonce too low from error as debug * chore: cargo fmt Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
This commit is contained in:
parent
7da5b64cfd
commit
9fc75ef245
|
@ -142,7 +142,7 @@ macro_rules! poll_broadcast_fut {
|
|||
Poll::Ready(Err(e)) => {
|
||||
// kludge. Prevents erroring on "nonce too low" which indicates
|
||||
// a previous escalation confirmed during this broadcast attempt
|
||||
if format!("{}", e).contains("nonce too low") {
|
||||
if format!("{:?}", e).contains("nonce too low") {
|
||||
check_all_receipts!($cx, $this);
|
||||
} else {
|
||||
tracing::error!(
|
||||
|
|
Loading…
Reference in New Issue