From 32340eb910a898108bd47b8bc489d3bb0288b479 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 17 Sep 2019 15:46:42 +1000 Subject: [PATCH] Version should be written as an int, not a long Signed-off-by: Peter Robinson --- .../besu/ethereum/worldstate/StateTrieAccountValue.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();