address type display name tweaks

This commit is contained in:
julian 2024-05-08 10:36:47 -06:00
parent 7bde8b70d9
commit 4f8cbbd8d8

View file

@ -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)";
} }
} }
} }