We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7615dc4 commit 84c3b8cCopy full SHA for 84c3b8c
packages/crypto-wallet-core/src/derivation/index.ts
@@ -45,7 +45,8 @@ const derivers: { [chain: string]: IDeriver } = {
45
46
export class DeriverProxy {
47
get(chain) {
48
- return derivers[chain];
+ const normalizedChain = chain.toUpperCase();
49
+ return derivers[normalizedChain];
50
}
51
52
/**
packages/crypto-wallet-core/src/transactions/index.ts
@@ -47,7 +47,8 @@ const providers = {
export class TransactionsProxy {
get({ chain }) {
- return providers[chain];
+ return providers[normalizedChain];
53
54
create(params) {
0 commit comments