Handle negative nonce
This commit is contained in:
parent
c728dd881d
commit
3695db552b
|
@ -43,6 +43,9 @@ const AddressTransactionByNonce: React.FC<AddressTransactionByNonceProps> = ({
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
nonce = parseInt(rawNonce, 10);
|
nonce = parseInt(rawNonce, 10);
|
||||||
|
if (nonce < 0) {
|
||||||
|
nonce = NaN;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Given all base params are determined, get the corresponding tx
|
// Given all base params are determined, get the corresponding tx
|
||||||
|
|
Loading…
Reference in New Issue