Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ class Transaction {
feeHistory: {} as FeeHistoryResult,
}));
// Gets the number of transactions that they will have sent by the next pending block
const nonce = await this.web3.getTransactionCount(this.tx.from, 'pending');
const nonce = await this.web3.getTransactionCount(this.tx.from.toLowerCase(), 'pending'); // web3 rejects rootstock checksum addr so use lowercase addr
if (!isFeeMarketNetwork) {
// Legacy transaction
const gasPrice = await this.web3.getGasPrice();
Expand Down
2 changes: 1 addition & 1 deletion packages/swap/src/providers/changelly/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class Changelly extends ProviderClass {

if (
cur.enabledFrom &&
cur.fixRateEnabled &&
(cur.fixRateEnabled || cur.protocol === "RBTC") && // Allow RBTC as native currency for gas fees and swaps
cur.token &&
changellyToNetwork[cur.blockchain] === this.network
) {
Expand Down
Loading