Skip to content

Commit a12bb20

Browse files
committed
fix: ensure governor account is not loaded in any non-governor module
Signed-off-by: Tomás Migone <[email protected]>
1 parent 5711907 commit a12bb20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/horizon/ignition/modules/core/PaymentsEscrow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const MigratePaymentsEscrowModule = buildModule('PaymentsEscrow', (m) =>
4444
const { PaymentsEscrowProxyAdmin, PaymentsEscrowProxy } = m.useModule(MigrateHorizonProxiesDeployerModule)
4545
const { Controller } = m.useModule(MigratePeripheryModule)
4646

47-
const governor = m.getAccount(1)
47+
const governor = m.getParameter('governor')
4848
const withdrawEscrowThawingPeriod = m.getParameter('withdrawEscrowThawingPeriod')
4949

5050
// Deploy PaymentsEscrow implementation

0 commit comments

Comments
 (0)