add supported deviation path

This commit is contained in:
julian 2024-05-10 10:39:34 -06:00
parent 667560372d
commit f6decc2fb4

View file

@ -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