Rewrite to not trigger temporary Vyper issues

This commit is contained in:
vbuterin 2019-01-29 18:58:56 -06:00 committed by GitHub
parent fab0feeb29
commit 30ca318869
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -708,7 +708,8 @@ def deposit(deposit_input: bytes[512]):
self.deposit_count += 1
log.Deposit(self.get_deposit_root(), deposit_data, merkle_tree_index, self.branch)
new_deposit_root:bytes32 = self.get_deposit_root()
log.Deposit(new_deposit_root, deposit_data, merkle_tree_index, self.branch)
if msg.value == as_wei_value(MAX_DEPOSIT_AMOUNT, "gwei"):
self.full_deposit_count += 1