Update specs/core/0_beacon-chain.md

Co-Authored-By: vbuterin <v@buterin.com>
This commit is contained in:
Danny Ryan 2018-11-25 11:33:07 -05:00 committed by GitHub
parent e8aa93e53e
commit b6349eefd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -597,7 +597,7 @@ def deposit(deposit_params: bytes[2048]):
self.receipt_tree[index] = sha3(concat(self.receipt_tree[index * 2], self.receipt_tree[index * 2 + 1]))
self.total_deposit_count += 1
if self.total_deposit_count == 16384:
timestamp_day_boundary = (block.timestamp - block.timestamp % 86400) + 86400
timestamp_day_boundary: timestamp = (block.timestamp - block.timestamp % 86400) + 86400
timestamp_day_boundary_bytes8: bytes[8] = slice(convert(timestamp_day_boundary, 'bytes32'), 24, 8)
log.ChainStart(self.receipt_tree[1], timestamp_day_boundary_bytes8 )