mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
add supported deviation path
This commit is contained in:
parent
667560372d
commit
f6decc2fb4
1 changed files with 7 additions and 5 deletions
|
@ -28,11 +28,12 @@ class Peercoin extends Bip39HDCurrency {
|
|||
bool get torSupport => true;
|
||||
|
||||
@override
|
||||
String constructDerivePath(
|
||||
{required DerivePathType derivePathType,
|
||||
int account = 0,
|
||||
required int chain,
|
||||
required int index}) {
|
||||
String constructDerivePath({
|
||||
required DerivePathType derivePathType,
|
||||
int account = 0,
|
||||
required int chain,
|
||||
required int index,
|
||||
}) {
|
||||
String coinType;
|
||||
switch (networkParams.wifPrefix) {
|
||||
case 183: // PPC mainnet wif.
|
||||
|
@ -164,6 +165,7 @@ class Peercoin extends Bip39HDCurrency {
|
|||
@override
|
||||
List<DerivePathType> get supportedDerivationPathTypes => [
|
||||
DerivePathType.bip44,
|
||||
DerivePathType.bip84,
|
||||
];
|
||||
|
||||
@override
|
||||
|
|
Loading…
Reference in a new issue