Skip to content

Commit 3fc23e0

Browse files
committed
print all keys verbosely
1 parent 336f617 commit 3fc23e0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ fn device_main(
104104
let found_thread_idx = found_thread_idx_slice[0];
105105
let wallet_formatted_result = hex::encode([found_private_key, found_public_key].concat());
106106
let encoded_public_key_string = String::from_utf8(found_bs58_encoded_public_key.to_vec()).unwrap();
107-
println!("[{ordinal}] First match: seed = {rng_seed} thread_idx = {found_thread_idx} encoded_public_key = {encoded_public_key_string} wallet = {wallet_formatted_result}");
107+
println!("[{ordinal}] First match: seed = {rng_seed} thread_idx = {found_thread_idx} encoded_public_key = {encoded_public_key_string}");
108+
println!("[{ordinal}] First match: public_key = {} private_key = {} wallet = {}", hex::encode(found_public_key), hex::encode(found_private_key), wallet_formatted_result);
108109

109110
// Print stats using global counters
110111
global_stats.print_stats(

0 commit comments

Comments
 (0)