Skip to content

Commit

Permalink
chore: fix the variable names of activation requests in setup_vaults (#…
Browse files Browse the repository at this point in the history
…4128)

chore: fix the variable names of activation requests
  • Loading branch information
kylezs authored Oct 17, 2023
1 parent c458712 commit 1cbaf09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bouncer/commands/setup_vaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ async function main(): Promise<void> {
// 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');
Expand Down

0 comments on commit 1cbaf09

Please sign in to comment.