Skip to content

Commit

Permalink
attempt to fix bitcoin issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lastmjs committed Dec 13, 2023
1 parent 24d704c commit 91b856c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/bitcoin/test/pretest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ import { execSync } from 'child_process';
async function pretest() {
await new Promise((resolve) => setTimeout(resolve, 5000));

execSync(`rm -rf .bitcoin/regtest`, {
stdio: 'inherit'
});

execSync(`dfx canister uninstall-code bitcoin || true`, {
stdio: 'inherit'
});
Expand Down

0 comments on commit 91b856c

Please sign in to comment.