fix eth.sign. now implemented in admin jsre until web3.js has it .

This commit is contained in:
zelig
2015-05-20 04:38:20 +01:00
parent b0ae84aa0d
commit 00f59f5014
4 changed files with 68 additions and 43 deletions

View File

@ -230,7 +230,7 @@ func TestSignature(t *testing.T) {
defer ethereum.Stop()
defer os.RemoveAll(tmp)
val, err := repl.re.Run(`eth.sign({from: "` + testAddress + `", data: "` + testHash + `"})`)
val, err := repl.re.Run(`eth.sign("` + testAddress + `", "` + testHash + `")`)
// This is a very preliminary test, lacking actual signature verification
if err != nil {