From 256fa1f35c32be1d0b8492ef4c4560264239bdd1 Mon Sep 17 00:00:00 2001 From: fluttershy Date: Sat, 1 Mar 2025 03:44:34 +0500 Subject: [PATCH] 2 --- sources/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/main.cpp b/sources/main.cpp index 8561a72..a35657a 100644 --- a/sources/main.cpp +++ b/sources/main.cpp @@ -152,7 +152,7 @@ int getOnes(const Key& value) { } void printKeys(int ones, const KeysBox& keys) { char buffer[256]; - int len = snprintf(buffer, sizeof(buffer), "\nAddr:\t%x\nPK:\t%s\nSK:\t%s\n", ones, keyToString(keys.PublicKey).c_str(), keyToString(keys.PrivateKey).c_str()); + int len = snprintf(buffer, sizeof(buffer), "\nAddr:\t2%x\nPK:\t%s\nSK:\t%s\n", ones, keyToString(keys.PublicKey).c_str(), keyToString(keys.PrivateKey).c_str()); if (len > 0 && len < static_cast(sizeof(buffer))) { printf("%s", buffer); } else {