Simplify test and add Changelog entry.

This commit is contained in:
Daniel Kirchner
2021-01-06 11:33:08 +01:00
parent d46da8e53c
commit 308549f950
2 changed files with 3 additions and 2 deletions
@@ -2,7 +2,7 @@
let a := calldataload(0)
let b := calldataload(0x20)
let x := sub(a, b)
if gt(x, 0) {
if iszero(x) {
sstore(0, 1)
}
}
@@ -12,5 +12,5 @@
// {
// let _1 := 0
// let a := calldataload(_1)
// if iszero(eq(a, calldataload(0x20))) { sstore(_1, 1) }
// if eq(a, calldataload(0x20)) { sstore(_1, 1) }
// }