|
@ -360,7 +360,7 @@ void Transact::rejigData() |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
gasNeeded = (qint64)min<bigint>(ethereum()->gasLimitRemaining(), ((b - value()) / gasPrice())); |
|
|
gasNeeded = (qint64)min<bigint>(ethereum()->gasLimitRemaining(), ((b - value()) / max<u256>(gasPrice(), 1))); |
|
|
|
|
|
|
|
|
// Dry-run execution to determine gas requirement and any execution errors
|
|
|
// Dry-run execution to determine gas requirement and any execution errors
|
|
|
Address to; |
|
|
Address to; |
|
|