mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-03 17:29:23 +00:00
address type display name tweaks
This commit is contained in:
parent
7bde8b70d9
commit
4f8cbbd8d8
1 changed files with 3 additions and 3 deletions
|
@ -170,11 +170,11 @@ enum AddressType {
|
||||||
String get readableName {
|
String get readableName {
|
||||||
switch (this) {
|
switch (this) {
|
||||||
case AddressType.p2pkh:
|
case AddressType.p2pkh:
|
||||||
return "Legacy";
|
return "P2PKH";
|
||||||
case AddressType.p2sh:
|
case AddressType.p2sh:
|
||||||
return "Wrapped segwit";
|
return "Wrapped segwit";
|
||||||
case AddressType.p2wpkh:
|
case AddressType.p2wpkh:
|
||||||
return "Segwit";
|
return "P2WPKH (segwit)";
|
||||||
case AddressType.cryptonote:
|
case AddressType.cryptonote:
|
||||||
return "Cryptonote";
|
return "Cryptonote";
|
||||||
case AddressType.mimbleWimble:
|
case AddressType.mimbleWimble:
|
||||||
|
@ -200,7 +200,7 @@ enum AddressType {
|
||||||
case AddressType.solana:
|
case AddressType.solana:
|
||||||
return "Solana";
|
return "Solana";
|
||||||
case AddressType.p2tr:
|
case AddressType.p2tr:
|
||||||
return "Taproot"; // Why not use P2TR, P2PKH, etc.?
|
return "P2TR (taproot)";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue