RSK gas limit fix

This commit is contained in:
Victor Baranov 2019-06-11 17:57:24 +03:00
parent f08b9b4df2
commit 1b5358e0ce
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ class TxGasUtil {
let code
if (recipient) code = await this.query.getCode(recipient)
if (hasRecipient && (!code || code === '0x')) {
if (hasRecipient && (!code || code === '0x' || code === '0x0')) {
txParams.gas = SIMPLE_GAS_COST
txMeta.simpleSend = true // Prevents buffer addition
return SIMPLE_GAS_COST