-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(abstract-utxo): rename AbstractUtxoCoinWallet to UtxoWallet
Issue: BTC-1450
- Loading branch information
1 parent
7cf4410
commit c590792
Showing
6 changed files
with
15 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import { Wallet, WalletData } from '@bitgo/sdk-core'; | ||
|
||
// parseTransactions' return type makes use of WalletData's type but with customChangeKeySignatures as required. | ||
export interface AbstractUtxoCoinWalletData extends WalletData { | ||
export interface UtxoWalletData extends WalletData { | ||
customChangeKeySignatures: { | ||
user: string; | ||
backup: string; | ||
bitgo: string; | ||
}; | ||
} | ||
|
||
export interface AbstractUtxoCoinWallet extends Wallet { | ||
_wallet: AbstractUtxoCoinWalletData; | ||
export interface UtxoWallet extends Wallet { | ||
_wallet: UtxoWalletData; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters