mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-03-02 11:10:35 +00:00
Amount is Wei in EL world / Gwei in CL
This commit is contained in:
parent
e9111a5168
commit
bfc634dc8c
@ -104,7 +104,7 @@ def get_withdrawal_rlp(withdrawal):
|
|||||||
# address
|
# address
|
||||||
(Binary(20, 20), withdrawal.address),
|
(Binary(20, 20), withdrawal.address),
|
||||||
# amount
|
# amount
|
||||||
(big_endian_int, withdrawal.amount)
|
(big_endian_int, withdrawal.amount * (10**9))
|
||||||
]
|
]
|
||||||
|
|
||||||
sedes = List([schema for schema, _ in withdrawal_rlp])
|
sedes = List([schema for schema, _ in withdrawal_rlp])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user