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…
Reference in New Issue