mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-02 22:03:37 +00:00
Compile contract
This commit is contained in:
parent
ad943bbd06
commit
d820dbd7b1
File diff suppressed because one or more lines are too long
@ -52,7 +52,7 @@ def get_deposit_root() -> bytes32:
|
|||||||
else:
|
else:
|
||||||
node = sha256(concat(node, self.zero_hashes[height]))
|
node = sha256(concat(node, self.zero_hashes[height]))
|
||||||
size /= 2
|
size /= 2
|
||||||
return sha256(concat(node, slice(zero_bytes32, start=0, len=24), self.to_little_endian_64(deposit_amount))
|
return sha256(concat(node, slice(zero_bytes32, start=0, len=24), self.to_little_endian_64(self.deposit_count)))
|
||||||
|
|
||||||
|
|
||||||
@public
|
@public
|
||||||
|
Loading…
x
Reference in New Issue
Block a user