Skip to content

Commit 5ebc228

Browse files
committed
cmd/geth: admin, switched price with limit in arguments
1 parent 7fed424 commit 5ebc228

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/geth/admin.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,10 @@ func (js *jsre) resend(call otto.FunctionCall) otto.Value {
137137
if tx, ok := v.(*tx); ok {
138138
gl, gp := tx.GasLimit, tx.GasPrice
139139
if len(call.ArgumentList) > 1 {
140-
gl = call.Argument(1).String()
140+
gp = call.Argument(1).String()
141141
}
142142
if len(call.ArgumentList) > 2 {
143-
gp = call.Argument(2).String()
143+
gl = call.Argument(2).String()
144144
}
145145

146146
ret, err := js.xeth.Transact(tx.From, tx.To, tx.Nonce, tx.Value, gl, gp, tx.Data)

0 commit comments

Comments
 (0)