Skip to content

Commit

Permalink
main: Remove harmful sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
lukechampine committed Dec 12, 2023
1 parent c025901 commit e701126
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cmd/walletd/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,6 @@ func printTestnetTxpool(c *api.Client, seed wallet.Seed) {
}

func testnetFixDBTree(dir string) {
if _, err := os.Stat(filepath.Join(dir, "consensus.db")); err != nil {
log.Fatal(err)
}
bdb, err := bolt.Open(filepath.Join(dir, "consensus.db"), 0600, nil)
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit e701126

Please sign in to comment.