Correct parameters for eth_sign (#2703)

* Cherry-pick eth_sign update/fix

* Correct sign documentation (signs txhash)
This commit is contained in:
Jaco Greeff
2016-10-19 11:04:26 +02:00
committed by Gav Wood
parent 6aed6a45d3
commit dadd6b1e7c
3 changed files with 9 additions and 5 deletions

View File

@@ -924,7 +924,7 @@ export default {
},
sign: {
desc: 'Signs data with a given address.\n**Note** the address to sign must be unlocked.',
desc: 'Signs transaction hash with a given address.',
params: [
{
type: Address,
@@ -933,7 +933,7 @@ export default {
},
{
type: Data,
desc: 'Data to sign'
desc: 'Transaction hash to sign'
}
],
returns: {