@btc-vision/transaction 1.6.8 → 1.6.9
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/build/_version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.6.
|
|
1
|
+
export declare const version = "1.6.9";
|
package/build/_version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '1.6.
|
|
1
|
+
export const version = '1.6.9';
|
|
@@ -7,7 +7,6 @@ import { InteractionTransaction } from './builders/InteractionTransaction.js';
|
|
|
7
7
|
import { TransactionBuilder } from './builders/TransactionBuilder.js';
|
|
8
8
|
import { P2WDADetector } from '../p2wda/P2WDADetector.js';
|
|
9
9
|
import { InteractionTransactionP2WDA } from './builders/InteractionTransactionP2WDA.js';
|
|
10
|
-
import { ChallengeSolution } from '../epoch/ChallengeSolution.js';
|
|
11
10
|
import { Address } from '../keypair/Address.js';
|
|
12
11
|
import { BitcoinUtils } from '../utils/BitcoinUtils.js';
|
|
13
12
|
export class TransactionFactory {
|
|
@@ -423,10 +422,7 @@ export class TransactionFactory {
|
|
|
423
422
|
finalPreTransaction = preTransaction;
|
|
424
423
|
if ('getChallenge' in preTransaction &&
|
|
425
424
|
typeof preTransaction.getChallenge === 'function') {
|
|
426
|
-
|
|
427
|
-
if (result instanceof ChallengeSolution) {
|
|
428
|
-
challenge = result;
|
|
429
|
-
}
|
|
425
|
+
challenge = preTransaction.getChallenge();
|
|
430
426
|
}
|
|
431
427
|
iterations++;
|
|
432
428
|
if (this.debug) {
|
package/package.json
CHANGED
package/src/_version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '1.6.
|
|
1
|
+
export const version = '1.6.9';
|
|
@@ -703,10 +703,7 @@ export class TransactionFactory {
|
|
|
703
703
|
'getChallenge' in preTransaction &&
|
|
704
704
|
typeof preTransaction.getChallenge === 'function'
|
|
705
705
|
) {
|
|
706
|
-
|
|
707
|
-
if (result instanceof ChallengeSolution) {
|
|
708
|
-
challenge = result;
|
|
709
|
-
}
|
|
706
|
+
challenge = preTransaction.getChallenge();
|
|
710
707
|
}
|
|
711
708
|
|
|
712
709
|
iterations++;
|