Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update error message #213

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading