mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-09 04:09:25 +00:00
clean up unused code
This commit is contained in:
parent
56bd1eff37
commit
455a45eb50
2 changed files with 2 additions and 11 deletions
|
@ -109,12 +109,3 @@ class TransactionV2 {
|
|||
')';
|
||||
}
|
||||
}
|
||||
|
||||
enum TxDirection {
|
||||
outgoing,
|
||||
incoming;
|
||||
}
|
||||
|
||||
enum TxType {
|
||||
normal,
|
||||
}
|
||||
|
|
|
@ -108,7 +108,7 @@ class Bitcoin extends Bip39HDCurrency {
|
|||
);
|
||||
|
||||
return (address: addr, addressType: AddressType.p2sh);
|
||||
break;
|
||||
|
||||
case DerivePathType.bip49:
|
||||
// addressString = P2SH(
|
||||
// data: PaymentData(
|
||||
|
@ -137,7 +137,7 @@ class Bitcoin extends Bip39HDCurrency {
|
|||
);
|
||||
|
||||
return (address: addr, addressType: AddressType.p2wpkh);
|
||||
break;
|
||||
|
||||
default:
|
||||
throw Exception("DerivePathType $derivePathType not supported");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue