Handle negative nonce

This commit is contained in:
Willian Mitsuda 2022-02-01 15:19:42 -03:00
parent c728dd881d
commit 3695db552b
1 changed files with 3 additions and 0 deletions

View File

@ -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