Skip to content

Commit

Permalink
rusk-wallet: Fix Phoenix key representation
Browse files Browse the repository at this point in the history
  • Loading branch information
HDauven committed Oct 3, 2024
1 parent 8f7bd68 commit d5cb50e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rusk-wallet/src/clients.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ impl State {
let pk: PhoenixPublicKey =
derive_phoenix_pk(store.get_seed(), i as u8);

[format!("{:?}", pk), format!("spent_{:?}", pk)]
let pk = bs58::encode(pk.to_bytes()).into_string();

[format!("{:?}", pk), format!("spent_{pk}")]
})
.collect();

Expand Down

0 comments on commit d5cb50e

Please sign in to comment.