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 6c361f7185..123e9edd74 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 class StateTrieAccountValue { if (version != Account.DEFAULT_VERSION) { // version of zero is never written out. - out.writeLongScalar(version); + out.writeIntScalar(version); } out.endList();