Closed hudsonburgess closed 4 years ago
https://github.com/ethereum/wiki/wiki/JavaScript-API#web3ethsign
The signature is listed as
web3.eth.sign(address, dataToSign [, callback])
But the example is
var result = web3.eth.sign( "0x9dd2c369a187b4e6b9c402f030e50743e619301ea62aa4c0737d4ef7e10a3d49", // first argument is web3.sha3("xyz") "0x135a7de83802408321b74c322f8558db1679ac20");
Which parameter is actually first -- address or dataToSign?
address
dataToSign
Please see https://github.com/ethereum/wiki/blob/master/ISSUE_TEMPLATE.md.
Closed in https://github.com/ethresearch/eth-wiki/issues/18
https://github.com/ethereum/wiki/wiki/JavaScript-API#web3ethsign
The signature is listed as
But the example is
Which parameter is actually first --
address
ordataToSign
?