We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a6a375 commit 4d78360Copy full SHA for 4d78360
beacon_chain/spec/helpers.nim
@@ -477,7 +477,7 @@ proc computeWithdrawalsTrieRoot*(
477
var tr = initHexaryTrie(newMemoryDB())
478
for i, withdrawal in payload.withdrawals:
479
try:
480
- tr.put(rlp.encode(i.uint), rlpEncode(withdrawal))
+ tr.put(rlpEncode(i.uint), rlpEncode(withdrawal))
481
except RlpError as exc:
482
raiseAssert "HexaryTrie.put failed: " & $exc.msg
483
tr.rootHash()
0 commit comments