Skip to content

Commit 8dfec04

Browse files
chore(bitgo): test updates for node 24
Updates code for node 24 strip only mode TICKET: WP-5182
1 parent a8ea467 commit 8dfec04

File tree

1 file changed

+3
-1
lines changed
  • modules/bitgo/test/v2/unit/coins/utxo/recovery

1 file changed

+3
-1
lines changed

modules/bitgo/test/v2/unit/coins/utxo/recovery/mock.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ import { Bsv } from '@bitgo/sdk-coin-bsv';
1010

1111
type Unspent<TNumber extends number | bigint = number> = bitgo.Unspent<TNumber>;
1212
export class MockRecoveryProvider implements RecoveryProvider {
13+
public unspents: Unspent<bigint>[];
1314
private prevTxCache: Record<string, string> = {};
14-
constructor(public unspents: Unspent<bigint>[]) {
15+
constructor(unspents: Unspent<bigint>[]) {
16+
this.unspents = unspents;
1517
this.unspents.forEach((u) => {
1618
if (utxolib.bitgo.isUnspentWithPrevTx(u)) {
1719
const { txid } = bitgo.parseOutputId(u.id);

0 commit comments

Comments
 (0)