Fix a typo in the assertion (within the comments)

This commit is contained in:
Alex Beregszaszi 2020-04-16 18:12:58 +01:00
parent 304bdc9d4e
commit 2000988671
1 changed files with 2 additions and 2 deletions

View File

@ -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));