File tree Expand file tree Collapse file tree
extension/src/providers/ethereum/libs/transaction
swap/src/providers/changelly Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ class Transaction {
105105 feeHistory : { } as FeeHistoryResult ,
106106 } ) ) ;
107107 // Gets the number of transactions that they will have sent by the next pending block
108- const nonce = await this . web3 . getTransactionCount ( this . tx . from , 'pending' ) ;
108+ const nonce = await this . web3 . getTransactionCount ( this . tx . from . toLowerCase ( ) , 'pending' ) ; // web3 rejects rootstock checksum addr so use lowercase addr
109109 if ( ! isFeeMarketNetwork ) {
110110 // Legacy transaction
111111 const gasPrice = await this . web3 . getGasPrice ( ) ;
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ class Changelly extends ProviderClass {
133133
134134 if (
135135 cur . enabledFrom &&
136- cur . fixRateEnabled &&
136+ ( cur . fixRateEnabled || cur . protocol === "RBTC" ) && // Allow RBTC as native currency for gas fees and swaps
137137 cur . token &&
138138 changellyToNetwork [ cur . blockchain ] === this . network
139139 ) {
You can’t perform that action at this time.
0 commit comments