Skip to content

Commit 9d2969b

Browse files
authored
Merge pull request #2610 from dusk-network/fix-sender-fee
rusk: fix sender json representation
2 parents 3981add + a750d8c commit 9d2969b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ fake = "=2.9.2"
9292
ff = { version = "=0.13.0", default-features = false }
9393
flate2 = "=1.0.33"
9494
flume = "=0.10.14"
95-
futures = "=0.3.30"
96-
futures-util = "=0.3.30"
95+
futures = "=0.3.31"
96+
futures-util = "=0.3.31"
9797
hex = "=0.4.3"
9898
http-body-util = "=0.1.2"
9999
http_req = "=0.8.1"

node-data/src/events/transactions.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,10 @@ impl Serialize for Transaction {
121121
);
122122
}
123123
if let Some(sender) = tx.moonlight_sender() {
124-
fee.insert("sender", hex::encode(sender.to_bytes()));
124+
fee.insert(
125+
"sender",
126+
bs58::encode(sender.to_bytes()).into_string(),
127+
);
125128
}
126129
fee
127130
};

0 commit comments

Comments
 (0)