Skip to content

Commit 59106b5

Browse files
committed
chore: quick fix
1 parent acd8565 commit 59106b5

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

packages/snap/src/core/handlers/onClientRequest/ClientRequestHandler.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import {
66
} from '@metamask/snaps-sdk';
77
import { assert } from '@metamask/superstruct';
88

9+
import { METAMASK_ORIGIN } from '../../constants/solana';
910
import type { WalletService } from '../../services/wallet/WalletService';
1011
import type { ILogger } from '../../utils/logger';
1112
import 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
}

packages/snap/src/features/send/views/TransactionConfirmation/events.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)