mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-10 04:34:34 +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);
|
return (address: addr, addressType: AddressType.p2sh);
|
||||||
break;
|
|
||||||
case DerivePathType.bip49:
|
case DerivePathType.bip49:
|
||||||
// addressString = P2SH(
|
// addressString = P2SH(
|
||||||
// data: PaymentData(
|
// data: PaymentData(
|
||||||
|
@ -137,7 +137,7 @@ class Bitcoin extends Bip39HDCurrency {
|
||||||
);
|
);
|
||||||
|
|
||||||
return (address: addr, addressType: AddressType.p2wpkh);
|
return (address: addr, addressType: AddressType.p2wpkh);
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
throw Exception("DerivePathType $derivePathType not supported");
|
throw Exception("DerivePathType $derivePathType not supported");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue