File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 55 BtcAccountType ,
66 isEvmAccountType ,
77 EthScope ,
8- BtcScope ,
98 SolAccountType ,
10- SolScope ,
119 SolMethod ,
1210 TrxAccountType ,
1311 TrxMethod ,
@@ -25,6 +23,7 @@ import {
2523import { MetaMaskReduxState } from '../../ui/store/store' ;
2624import mockState from '../data/mock-state.json' ;
2725import { isBtcMainnetAddress } from '../../shared/lib/multichain/accounts' ;
26+ import { MultichainNetworks } from '../../shared/constants/multichain/networks' ;
2827
2928export type MockState = typeof mockState ;
3029
@@ -243,12 +242,12 @@ export function createMockInternalAccount({
243242 // If no address is given, we fallback to testnet
244243 const isMainnet = Boolean ( address ) && isBtcMainnetAddress ( address ) ;
245244
246- scopes = [ isMainnet ? BtcScope . Mainnet : BtcScope . Testnet ] ;
245+ scopes = [ isMainnet ? MultichainNetworks . BITCOIN : MultichainNetworks . BITCOIN_TESTNET ] ;
247246 methods = Object . values ( BtcMethod ) ;
248247 break ;
249248 }
250249 case SolAccountType . DataAccount :
251- scopes = [ SolScope . Mainnet , SolScope . Testnet , SolScope . Devnet ] ;
250+ scopes = [ MultichainNetworks . SOLANA , MultichainNetworks . SOLANA_TESTNET , MultichainNetworks . SOLANA_DEVNET ] ;
252251 methods = [ SolMethod . SendAndConfirmTransaction ] ;
253252 break ;
254253 case TrxAccountType . Eoa :
You can’t perform that action at this time.
0 commit comments