diff options
author | zelig <viktor.tron@gmail.com> | 2015-05-20 11:38:20 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-05-20 11:38:20 +0800 |
commit | 00f59f5014360cda47e50d9791caf7dd88022c20 (patch) | |
tree | 22a11d9939d76c238b79f8bf54fed4734fd8649c /cmd/geth/js_test.go | |
parent | b0ae84aa0dae65f00492f981bb61887331def2a5 (diff) | |
download | dexon-00f59f5014360cda47e50d9791caf7dd88022c20.tar dexon-00f59f5014360cda47e50d9791caf7dd88022c20.tar.gz dexon-00f59f5014360cda47e50d9791caf7dd88022c20.tar.bz2 dexon-00f59f5014360cda47e50d9791caf7dd88022c20.tar.lz dexon-00f59f5014360cda47e50d9791caf7dd88022c20.tar.xz dexon-00f59f5014360cda47e50d9791caf7dd88022c20.tar.zst dexon-00f59f5014360cda47e50d9791caf7dd88022c20.zip |
fix eth.sign. now implemented in admin jsre until web3.js has it .
Diffstat (limited to 'cmd/geth/js_test.go')
-rw-r--r-- | cmd/geth/js_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/js_test.go b/cmd/geth/js_test.go index 71c1fedb9..41e1034e9 100644 --- a/cmd/geth/js_test.go +++ b/cmd/geth/js_test.go @@ -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 { |