File tree Expand file tree Collapse file tree
core/handlers/onClientRequest
features/send/views/TransactionConfirmation Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66} from '@metamask/snaps-sdk' ;
77import { assert } from '@metamask/superstruct' ;
88
9+ import { METAMASK_ORIGIN } from '../../constants/solana' ;
910import type { WalletService } from '../../services/wallet/WalletService' ;
1011import type { ILogger } from '../../utils/logger' ;
1112import type { SolanaKeyring } from '../onKeyringRequest/Keyring' ;
@@ -81,7 +82,7 @@ export class ClientRequestHandler {
8182 account ,
8283 base64EncodedTransaction ,
8384 scope ,
84- 'metamask' ,
85+ METAMASK_ORIGIN ,
8586 options ,
8687 ) ;
8788 }
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ async function onConfirmButtonClick({
146146 account ,
147147 transactionMessage ,
148148 scope ,
149- 'metamask' ,
149+ METAMASK_ORIGIN ,
150150 ) ;
151151
152152 signature = response . signature ;
You can’t perform that action at this time.
0 commit comments