From 4f8cbbd8d899b17c4ae46c7c77e56687b12c43c4 Mon Sep 17 00:00:00 2001 From: julian Date: Wed, 8 May 2024 10:36:47 -0600 Subject: [PATCH] address type display name tweaks --- lib/models/isar/models/blockchain_data/address.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/models/isar/models/blockchain_data/address.dart b/lib/models/isar/models/blockchain_data/address.dart index 76d69f104..e3314d754 100644 --- a/lib/models/isar/models/blockchain_data/address.dart +++ b/lib/models/isar/models/blockchain_data/address.dart @@ -170,11 +170,11 @@ enum AddressType { String get readableName { switch (this) { case AddressType.p2pkh: - return "Legacy"; + return "P2PKH"; case AddressType.p2sh: return "Wrapped segwit"; case AddressType.p2wpkh: - return "Segwit"; + return "P2WPKH (segwit)"; case AddressType.cryptonote: return "Cryptonote"; case AddressType.mimbleWimble: @@ -200,7 +200,7 @@ enum AddressType { case AddressType.solana: return "Solana"; case AddressType.p2tr: - return "Taproot"; // Why not use P2TR, P2PKH, etc.? + return "P2TR (taproot)"; } } }