aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/admin.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-05-06 05:19:59 +0800
committerobscuren <geffobscura@gmail.com>2015-05-07 00:30:56 +0800
commit5ebc22807c1faa9fc6dddd79aebc974f4510af20 (patch)
treea575426da1b567dd43c7dbc0dfd95e5e5a512593 /cmd/geth/admin.go
parent7fed4244353bb9b95b6c18fb26c039d7274bd2c8 (diff)
downloaddexon-5ebc22807c1faa9fc6dddd79aebc974f4510af20.tar
dexon-5ebc22807c1faa9fc6dddd79aebc974f4510af20.tar.gz
dexon-5ebc22807c1faa9fc6dddd79aebc974f4510af20.tar.bz2
dexon-5ebc22807c1faa9fc6dddd79aebc974f4510af20.tar.lz
dexon-5ebc22807c1faa9fc6dddd79aebc974f4510af20.tar.xz
dexon-5ebc22807c1faa9fc6dddd79aebc974f4510af20.tar.zst
dexon-5ebc22807c1faa9fc6dddd79aebc974f4510af20.zip
cmd/geth: admin, switched price with limit in arguments
Diffstat (limited to 'cmd/geth/admin.go')
-rw-r--r--cmd/geth/admin.go4
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)