aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/js_test.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-05-20 11:38:20 +0800
committerzelig <viktor.tron@gmail.com>2015-05-20 11:38:20 +0800
commit00f59f5014360cda47e50d9791caf7dd88022c20 (patch)
tree22a11d9939d76c238b79f8bf54fed4734fd8649c /cmd/geth/js_test.go
parentb0ae84aa0dae65f00492f981bb61887331def2a5 (diff)
downloadgo-tangerine-00f59f5014360cda47e50d9791caf7dd88022c20.tar.gz
go-tangerine-00f59f5014360cda47e50d9791caf7dd88022c20.tar.zst
go-tangerine-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.go2
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 {