diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-22 06:55:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-22 06:55:26 +0800 |
commit | 3094e777486c40c91c6cf3432ad60f29b9ada484 (patch) | |
tree | 1b6f4c5f3df7eba1715a5ac69ca63ef42440b130 /liblll | |
parent | 176f8f903a9b3f4d83b5aaf2a04094a1bf6f4cd7 (diff) | |
parent | 35bf91407ea03a8fabbfe7e312720dd90945d1a4 (diff) | |
download | dexon-solidity-3094e777486c40c91c6cf3432ad60f29b9ada484.tar dexon-solidity-3094e777486c40c91c6cf3432ad60f29b9ada484.tar.gz dexon-solidity-3094e777486c40c91c6cf3432ad60f29b9ada484.tar.bz2 dexon-solidity-3094e777486c40c91c6cf3432ad60f29b9ada484.tar.lz dexon-solidity-3094e777486c40c91c6cf3432ad60f29b9ada484.tar.xz dexon-solidity-3094e777486c40c91c6cf3432ad60f29b9ada484.tar.zst dexon-solidity-3094e777486c40c91c6cf3432ad60f29b9ada484.zip |
Merge pull request #2417 from benjaminion/lll-relabel-ecrecover-macro
LLL: Correctly label arguments to ecrecover built-in macro.
Diffstat (limited to 'liblll')
-rw-r--r-- | liblll/CompilerState.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liblll/CompilerState.cpp b/liblll/CompilerState.cpp index c22242a3..c76ef655 100644 --- a/liblll/CompilerState.cpp +++ b/liblll/CompilerState.cpp @@ -65,7 +65,7 @@ void CompilerState::populateStandard() "(def 'makeperm (name pos) { (def name (sload pos)) (def name (v) (sstore pos v)) } )" "(def 'permcount 0)" "(def 'perm (name) { (makeperm name permcount) (def 'permcount (+ permcount 1)) } )" - "(def 'ecrecover (r s v hash) { [0] r [32] s [64] v [96] hash (msg allgas 1 0 0 128) })" + "(def 'ecrecover (hash v r s) { [0] hash [32] v [64] r [96] s (msg allgas 1 0 0 128) })" "(def 'sha256 (data datasize) (msg allgas 2 0 data datasize))" "(def 'ripemd160 (data datasize) (msg allgas 3 0 data datasize))" "(def 'sha256 (val) { [0]:val (sha256 0 32) })" |