From 3642ddc9581c4485b13d4d0fffee6290703a5768 Mon Sep 17 00:00:00 2001 From: Craig Raw Date: Mon, 5 Oct 2020 17:28:17 +0200 Subject: [PATCH] add convenience method --- src/main/java/com/sparrowwallet/drongo/ExtendedKey.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/sparrowwallet/drongo/ExtendedKey.java b/src/main/java/com/sparrowwallet/drongo/ExtendedKey.java index 8eababa..56c9abf 100644 --- a/src/main/java/com/sparrowwallet/drongo/ExtendedKey.java +++ b/src/main/java/com/sparrowwallet/drongo/ExtendedKey.java @@ -185,6 +185,10 @@ public class ExtendedKey { return name; } + public String getDisplayName() { + return name.replace('p', 'P'); + } + public int getHeader() { return header; }