Skip to content

Commit 3299011

Browse files
committed
comment
1 parent 345a76c commit 3299011

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

beacon_chain/spec/helpers.nim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,8 @@ func toExecutionWithdrawal(
463463
amount: distinctBase(withdrawal.amount))
464464

465465
proc rlpEncode(withdrawal: capella.Withdrawal): seq[byte] =
466+
# TODO if this encode call is in a generic function, nim doesn't find the
467+
# right `append` to use with `Address` (!)
466468
rlp.encode(toExecutionWithdrawal(withdrawal))
467469

468470
# https://eips.ethereum.org/EIPS/eip-4895

0 commit comments

Comments
 (0)