mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 05:05:00 -05:00
Fix a typo in the assertion (within the comments)
This commit is contained in:
@@ -87,8 +87,8 @@ contract DepositContract is IDepositContract {
|
||||
require(signature.length == SIGNATURE_LENGTH);
|
||||
|
||||
// FIXME: these are not the Vyper code, but should verify they are not needed
|
||||
// assert(deposit_amount <= 2^64-1);
|
||||
// assert(deposit_count <= 2^64-1);
|
||||
// assert(deposit_amount <= 2**64-1);
|
||||
// assert(deposit_count <= 2**64-1);
|
||||
|
||||
// Emit `DepositEvent` log
|
||||
bytes memory amount = to_little_endian_64(uint64(deposit_amount));
|
||||
|
||||
Reference in New Issue
Block a user