diff --git a/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/worldstate/StateTrieAccountValue.java b/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/worldstate/StateTrieAccountValue.java index 6c361f7185e..123e9edd746 100644 --- a/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/worldstate/StateTrieAccountValue.java +++ b/ethereum/core/src/main/java/org/hyperledger/besu/ethereum/worldstate/StateTrieAccountValue.java @@ -100,7 +100,7 @@ public void writeTo(final RLPOutput out) { if (version != Account.DEFAULT_VERSION) { // version of zero is never written out. - out.writeLongScalar(version); + out.writeIntScalar(version); } out.endList();