Skip to content

Commit

Permalink
Bug fix for FastRawTransactionManager.resetNonce
Browse files Browse the repository at this point in the history
Signed-off-by: Junsung Cho <[email protected]>
  • Loading branch information
junsung-cho committed Jul 26, 2024
1 parent 8d9e8ee commit b29a4d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
### Bug Fixes

* Bug fix for Int256 decode range [2^248, type(int256).max] and [ type(int256.min), -(2^248) )
* Bug fix for FastRawTransactionManager.resetNonce [#2084](https://github.com/hyperledger/web3j/pull/2084)

### Features

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public BigInteger getCurrentNonce() {
}

public synchronized void resetNonce() throws IOException {
nonce = super.getNonce();
nonce = BigInteger.valueOf(-1);
}

public synchronized void setNonce(BigInteger value) {
Expand Down

0 comments on commit b29a4d4

Please sign in to comment.