Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd committed Nov 5, 2023
1 parent 9b54070 commit 666205c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ export class CoreClient {

const { debug } = opt

if (opt.network === 'bitcoin') {
opt.network = 'main'
}

if (opt.network === 'testnet') {
opt.network = 'test'
}

this._cache = [ 'null', null ]

this.params = [
Expand Down

0 comments on commit 666205c

Please sign in to comment.