Skip to content

Commit

Permalink
fix: bnb max send
Browse files Browse the repository at this point in the history
  • Loading branch information
kvhnuke committed Nov 26, 2024
1 parent aa5c165 commit d1b8c83
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const getGasBasedOnType = (
}
};
const getMinPriorityFee = (): BNType => {
return toBN(toWei('0.1', 'gwei'));
return toBN(toWei('1', 'gwei'));
};
const getPriorityFeeAvg = (arr: BNType[]): BNType => {
const sum = arr.reduce((a, v) => a.add(v));
Expand Down
4 changes: 2 additions & 2 deletions packages/extension/src/providers/solana/libs/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class API implements ProviderAPIInterface {
}
const allTokensResponse = await cacheFetch(
{
url: 'https://utl.solcast.dev/solana-tokenlist.json',
url: 'https://raw.githubusercontent.com/solflare-wallet/token-list/refs/heads/master/solana-tokenlist.json',
postProcess: (data: any) => {
const allTokens = data.tokens as TokenDetails[];
const tObj: Record<string, TokenDetails> = {};
Expand All @@ -74,7 +74,7 @@ class API implements ProviderAPIInterface {
return tObj;
},
},
60 * 60 * 1000,
6 * 60 * 60 * 1000,
);
const allTokens = allTokensResponse as Record<string, TokenDetails>;
let decimals = 9;
Expand Down

0 comments on commit d1b8c83

Please sign in to comment.