Skip to content

Commit 90d369e

Browse files
OttoAllmendingerllm-git
andcommitted
feat(abstract-utxo): enable wasm support for BCH, BTG, BSV, XEC
Enable wasm-utxo support for all networks except ZCash. Issue: BTC-2656 Co-authored-by: llm-git <[email protected]>
1 parent 91c095a commit 90d369e

File tree

1 file changed

+1
-7
lines changed
  • modules/abstract-utxo/test/unit/transaction/fixedScript

1 file changed

+1
-7
lines changed
Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
import * as utxolib from '@bitgo/utxo-lib';
22

33
export function hasWasmUtxoSupport(network: utxolib.Network): boolean {
4-
return ![
5-
utxolib.networks.bitcoincash,
6-
utxolib.networks.bitcoingold,
7-
utxolib.networks.bitcoinsv,
8-
utxolib.networks.ecash,
9-
utxolib.networks.zcash,
10-
].includes(utxolib.getMainnet(network));
4+
return utxolib.getMainnet(network) !== utxolib.networks.zcash;
115
}

0 commit comments

Comments
 (0)