Fix a typo in the assertion (within the comments)
This commit is contained in:
parent
304bdc9d4e
commit
2000988671
|
@ -87,8 +87,8 @@ contract DepositContract is IDepositContract {
|
||||||
require(signature.length == SIGNATURE_LENGTH);
|
require(signature.length == SIGNATURE_LENGTH);
|
||||||
|
|
||||||
// FIXME: these are not the Vyper code, but should verify they are not needed
|
// FIXME: these are not the Vyper code, but should verify they are not needed
|
||||||
// assert(deposit_amount <= 2^64-1);
|
// assert(deposit_amount <= 2**64-1);
|
||||||
// assert(deposit_count <= 2^64-1);
|
// assert(deposit_count <= 2**64-1);
|
||||||
|
|
||||||
// Emit `DepositEvent` log
|
// Emit `DepositEvent` log
|
||||||
bytes memory amount = to_little_endian_64(uint64(deposit_amount));
|
bytes memory amount = to_little_endian_64(uint64(deposit_amount));
|
||||||
|
|
Loading…
Reference in New Issue