good morning!!!!

Skip to content
Snippets Groups Projects
Commit 5ebc2280 authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

cmd/geth: admin, switched price with limit in arguments

parent 7fed4244
No related branches found
No related tags found
No related merge requests found
...@@ -137,10 +137,10 @@ func (js *jsre) resend(call otto.FunctionCall) otto.Value { ...@@ -137,10 +137,10 @@ func (js *jsre) resend(call otto.FunctionCall) otto.Value {
if tx, ok := v.(*tx); ok { if tx, ok := v.(*tx); ok {
gl, gp := tx.GasLimit, tx.GasPrice gl, gp := tx.GasLimit, tx.GasPrice
if len(call.ArgumentList) > 1 { if len(call.ArgumentList) > 1 {
gl = call.Argument(1).String() gp = call.Argument(1).String()
} }
if len(call.ArgumentList) > 2 { 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) ret, err := js.xeth.Transact(tx.From, tx.To, tx.Nonce, tx.Value, gl, gp, tx.Data)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment