From 1cbaf0999f47978e337c2b9a5c71c4ee53c47042 Mon Sep 17 00:00:00 2001 From: kylezs Date: Tue, 17 Oct 2023 20:35:57 +1100 Subject: [PATCH] chore: fix the variable names of activation requests in setup_vaults (#4128) chore: fix the variable names of activation requests --- bouncer/commands/setup_vaults.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bouncer/commands/setup_vaults.ts b/bouncer/commands/setup_vaults.ts index 4518a8f2d5..382a1a687b 100755 --- a/bouncer/commands/setup_vaults.ts +++ b/bouncer/commands/setup_vaults.ts @@ -38,13 +38,13 @@ async function main(): Promise { // Step 2 console.log('Waiting for new keys'); - const btcActivationRequest = observeEvent( + const dotActivationRequest = observeEvent( 'polkadotVault:AwaitingGovernanceActivation', chainflip, ); - const dotActivationRequest = observeEvent('bitcoinVault:AwaitingGovernanceActivation', chainflip); - const dotKey = (await btcActivationRequest).data.newPublicKey; - const btcKey = (await dotActivationRequest).data.newPublicKey; + const btcActivationRequest = observeEvent('bitcoinVault:AwaitingGovernanceActivation', chainflip); + const dotKey = (await dotActivationRequest).data.newPublicKey; + const btcKey = (await btcActivationRequest).data.newPublicKey; // Step 3 console.log('Requesting Polkadot Vault creation');