Skip to content

Commit 4d78360

Browse files
committed
helper
1 parent 6a6a375 commit 4d78360

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_chain/spec/helpers.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ proc computeWithdrawalsTrieRoot*(
477477
var tr = initHexaryTrie(newMemoryDB())
478478
for i, withdrawal in payload.withdrawals:
479479
try:
480-
tr.put(rlp.encode(i.uint), rlpEncode(withdrawal))
480+
tr.put(rlpEncode(i.uint), rlpEncode(withdrawal))
481481
except RlpError as exc:
482482
raiseAssert "HexaryTrie.put failed: " & $exc.msg
483483
tr.rootHash()

0 commit comments

Comments
 (0)