From 4310b0c7d00e0e2f4865d9ed902b5dacdf94c28f Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Sun, 25 Nov 2018 06:11:40 -0500 Subject: [PATCH] Update specs/core/0_beacon-chain.md Co-Authored-By: vbuterin --- specs/core/0_beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index 8a46b7d85..0df5e1d23 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -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)