Skip to content

Commit af4b98d

Browse files
committed
chore: fix
1 parent 330d601 commit af4b98d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/snap/src/core/services/analytics/AnalyticsService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export class AnalyticsService {
123123
account_id: account.id,
124124
account_address: account.address,
125125
account_type: account.type,
126-
chain_id: metadata.scope,
126+
chain_id: transaction.chain,
127127
transaction_status: transaction.status,
128128
transaction_type: transaction.type,
129129
},

packages/snap/src/core/services/confirmation/ConfirmationHandler.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class ConfirmationHandler {
9494
base64EncodedTransaction,
9595
metadata: {
9696
scope,
97-
origin,
97+
origin: origin ?? null,
9898
},
9999
},
100100
},
@@ -123,7 +123,7 @@ export class ConfirmationHandler {
123123
base64EncodedTransaction,
124124
metadata: {
125125
scope,
126-
origin,
126+
origin: origin ?? null,
127127
},
128128
},
129129
},
@@ -145,7 +145,7 @@ export class ConfirmationHandler {
145145
base64EncodedTransaction,
146146
metadata: {
147147
scope,
148-
origin,
148+
origin: origin ?? null,
149149
},
150150
},
151151
},

0 commit comments

Comments
 (0)