mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-01 11:54:56 -05:00
Amount is Wei in EL world / Gwei in CL
This commit is contained in:
@@ -104,7 +104,7 @@ def get_withdrawal_rlp(withdrawal):
|
||||
# address
|
||||
(Binary(20, 20), withdrawal.address),
|
||||
# amount
|
||||
(big_endian_int, withdrawal.amount)
|
||||
(big_endian_int, withdrawal.amount * (10**9))
|
||||
]
|
||||
|
||||
sedes = List([schema for schema, _ in withdrawal_rlp])
|
||||
|
||||
Reference in New Issue
Block a user