diff options
author | obscuren <geffobscura@gmail.com> | 2015-05-06 05:19:59 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-05-07 00:30:56 +0800 |
commit | 5ebc22807c1faa9fc6dddd79aebc974f4510af20 (patch) | |
tree | a575426da1b567dd43c7dbc0dfd95e5e5a512593 /cmd | |
parent | 7fed4244353bb9b95b6c18fb26c039d7274bd2c8 (diff) | |
download | go-tangerine-5ebc22807c1faa9fc6dddd79aebc974f4510af20.tar.gz go-tangerine-5ebc22807c1faa9fc6dddd79aebc974f4510af20.tar.zst go-tangerine-5ebc22807c1faa9fc6dddd79aebc974f4510af20.zip |
cmd/geth: admin, switched price with limit in arguments
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/geth/admin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/geth/admin.go b/cmd/geth/admin.go index 13efe5dd6..2ee316580 100644 --- a/cmd/geth/admin.go +++ b/cmd/geth/admin.go @@ -137,10 +137,10 @@ func (js *jsre) resend(call otto.FunctionCall) otto.Value { if tx, ok := v.(*tx); ok { gl, gp := tx.GasLimit, tx.GasPrice if len(call.ArgumentList) > 1 { - gl = call.Argument(1).String() + gp = call.Argument(1).String() } if len(call.ArgumentList) > 2 { - gp = call.Argument(2).String() + gl = call.Argument(2).String() } ret, err := js.xeth.Transact(tx.From, tx.To, tx.Nonce, tx.Value, gl, gp, tx.Data) |