Skip to content

Commit

Permalink
update error message (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
ylsGit authored Jun 4, 2024
1 parent 28b5a21 commit bccf14c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pool/pool_xlayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (p *Pool) checkFreeGp(ctx context.Context, poolTx Transaction, from common.
}
return true, nil
} else {
return false, fmt.Errorf("you are no longer eligible for gas-free transactions because for each new address, only the first %d transactions(address nonce less than %d) can be gas-free",
return false, fmt.Errorf("You are no longer eligible for gas-free transactions because for each new address. Only the first %d transactions(address nonce less than %d) can be gas-free",
freeGasCountPerAddrConfig,
freeGasCountPerAddrConfig)
}
Expand All @@ -143,7 +143,7 @@ func (p *Pool) checkFreeGp(ctx context.Context, poolTx Transaction, from common.
case MainnetChainID:
bridgeURL = MainnetBridgeURL
}
return false, fmt.Errorf("you are unable to initiate a gas-free transaction from this address unless you have previously transferred funds to this address via the X Layer Bridge (%s) or the OKX Exchange, only the first %d transactions (address nonce must be less than %d) can be gas-free",
return false, fmt.Errorf("You are unable to initiate a gas-free transaction from this address unless you have previously transferred funds to this address via the X Layer Bridge (%s) or the OKX Exchange. Only the first %d transactions (address nonce must be less than %d) can be gas-free",
bridgeURL,
freeGasCountPerAddrConfig,
freeGasCountPerAddrConfig)
Expand Down

0 comments on commit bccf14c

Please sign in to comment.