Skip to content

Commit cc67073

Browse files
OttoAllmendingerllm-git
andcommitted
feat(abstract-utxo): extend DecodedTransaction to include wasm-utxo BitGoPsbt
Issue: BTC-2806 Co-authored-by: llm-git <[email protected]>
1 parent c941b08 commit cc67073

File tree

1 file changed

+3
-1
lines changed
  • modules/abstract-utxo/src/transaction

1 file changed

+3
-1
lines changed

modules/abstract-utxo/src/transaction/types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import * as utxolib from '@bitgo/utxo-lib';
2+
import { fixedScriptWallet } from '@bitgo/wasm-utxo';
23

34
import type { UtxoNamedKeychains } from '../keychains';
45

@@ -8,7 +9,8 @@ export type SdkBackend = 'utxolib' | 'wasm-utxo';
89

910
export type DecodedTransaction<TNumber extends number | bigint> =
1011
| utxolib.bitgo.UtxoTransaction<TNumber>
11-
| utxolib.bitgo.UtxoPsbt;
12+
| utxolib.bitgo.UtxoPsbt
13+
| fixedScriptWallet.BitGoPsbt;
1214

1315
export interface BaseOutput<TAmount = string | number> {
1416
address: string;

0 commit comments

Comments
 (0)