@multiplechain/bitcoin 0.4.23 → 0.4.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +2 -2
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -42221,7 +42221,7 @@ class IX {
|
|
|
42221
42221
|
const r = {
|
|
42222
42222
|
txId: ""
|
|
42223
42223
|
};
|
|
42224
|
-
if (
|
|
42224
|
+
if (this.provider.isTestnet()) {
|
|
42225
42225
|
const i = ((n = e["address-transactions"]) == null ? void 0 : n[0]) ?? ((s = e["block-transactions"]) == null ? void 0 : s[0]);
|
|
42226
42226
|
r.txId = i.txid, r.sender = i.vin[0].prevout.scriptpubkey_address, r.receiver = i.vout[0].scriptpubkey_address, r.amount = Do(i.vout[0].value);
|
|
42227
42227
|
} else
|