Skip to content

Commit

Permalink
Merge pull request #2610 from dusk-network/fix-sender-fee
Browse files Browse the repository at this point in the history
rusk: fix sender json representation
  • Loading branch information
herr-seppia authored Oct 7, 2024
2 parents 3981add + a750d8c commit 9d2969b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ fake = "=2.9.2"
ff = { version = "=0.13.0", default-features = false }
flate2 = "=1.0.33"
flume = "=0.10.14"
futures = "=0.3.30"
futures-util = "=0.3.30"
futures = "=0.3.31"
futures-util = "=0.3.31"
hex = "=0.4.3"
http-body-util = "=0.1.2"
http_req = "=0.8.1"
Expand Down
5 changes: 4 additions & 1 deletion node-data/src/events/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ impl Serialize for Transaction {
);
}
if let Some(sender) = tx.moonlight_sender() {
fee.insert("sender", hex::encode(sender.to_bytes()));
fee.insert(
"sender",
bs58::encode(sender.to_bytes()).into_string(),
);
}
fee
};
Expand Down

0 comments on commit 9d2969b

Please sign in to comment.