Skip to content

Commit

Permalink
fix: Add missing allowed action to the SmartTransactionsController me…
Browse files Browse the repository at this point in the history
…ssenger
  • Loading branch information
cryptodev-2s committed Jan 7, 2025
1 parent 82d7f87 commit 33d1348
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/core/Engine/Engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,10 @@ export class Engine {
state: initialState.SmartTransactionsController,
messenger: this.controllerMessenger.getRestricted({
name: 'SmartTransactionsController',
allowedActions: ['NetworkController:getNetworkClientById'],
allowedActions: [
'NetworkController:getNetworkClientById',
'NetworkController:getState',
],
allowedEvents: ['NetworkController:stateChange'],
}),
getTransactions: this.transactionController.getTransactions.bind(
Expand Down

0 comments on commit 33d1348

Please sign in to comment.