Skip to content

Commit 7809170

Browse files
OttoAllmendingerllm-git
andcommitted
feat(abstract-utxo): move RootWalletKeys type to utxo-lib
Move RootWalletKeys type definition to utxo-lib from abstractUtxoCoin to better organize code structure and eliminate circular dependencies. Issue: BTC-2806 Co-authored-by: llm-git <[email protected]>
1 parent 4548dfc commit 7809170

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/abstract-utxo/src/transaction/fixedScript/signTransaction.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@ import { bitgo } from '@bitgo/utxo-lib';
66
import * as utxolib from '@bitgo/utxo-lib';
77
import { isTriple, Triple } from '@bitgo/sdk-core';
88

9-
import { AbstractUtxoCoin, DecodedTransaction, RootWalletKeys } from '../../abstractUtxoCoin';
9+
import { AbstractUtxoCoin, DecodedTransaction } from '../../abstractUtxoCoin';
1010

1111
import { signAndVerifyPsbt, signAndVerifyWalletTransaction } from './sign';
1212

13+
type RootWalletKeys = bitgo.RootWalletKeys;
14+
1315
/**
1416
* Key Value: Unsigned tx id => PSBT
1517
* It is used to cache PSBTs with taproot key path (MuSig2) inputs during external express signer is activated.

0 commit comments

Comments
 (0)