Qtum Hex Address = RIPEMD160( SHA256( PUBLIC KEY ))
Ethereum Address = KECCAK256( PUBLIC KEY ) and drop the first 12 bytes
When we use the precompiled "ecrecover" function in a smart contract we can not obtain the QTUM address with which we have signed.
Qtum Hex Address = RIPEMD160( SHA256( PUBLIC KEY ))
Ethereum Address = KECCAK256( PUBLIC KEY ) and drop the first 12 bytes
When we use the precompiled "ecrecover" function in a smart contract we can not obtain the QTUM address with which we have signed.
cpp-eth-qtum/libethcore/Precompiled.cpp
Line 67 in 1a8e6a4