Update specs/core/0_beacon-chain.md
Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
parent
50e8e1a918
commit
4310b0c7d0
|
@ -588,7 +588,7 @@ def deposit(deposit_params: bytes[2048]):
|
|||
for i in range(POW_CONTRACT_MERKLE_TREE_DEPTH):
|
||||
index //= 2
|
||||
self.receipt_tree[index] = sha3(concat(self.receipt_tree[index * 2], self.receipt_tree[index * 2 + 1]))
|
||||
if msg.value >= MIN_DEPOSIT_SIZE:
|
||||
if msg.value >= as_wei_value(DEPOSIT_SIZE, "ether"):
|
||||
self.total_deposit_count += 1
|
||||
if self.total_deposit_count == DEPOSITS_FOR_CHAIN_START:
|
||||
log.ChainStart(self.receipt_tree[1], timestamp_bytes8)
|
||||
|
|
Loading…
Reference in New Issue