Skip to content

Commit

Permalink
Fixes misleading fee tracing message
Browse files Browse the repository at this point in the history
  • Loading branch information
grarco committed Jul 24, 2024
1 parent 8479d38 commit 8edfa2b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/namada/src/ledger/protocol/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -734,8 +734,8 @@ where
if !result.is_accepted() {
state.write_log_mut().drop_tx();
tracing::error!(
"The fee unshielding tx is invalid, some VPs rejected \
it: {:#?}",
"The first transaction in the batch failed to pay \
fees via the MASP, some VPs rejected it: {:#?}",
result.vps_result.rejected_vps
);
}
Expand All @@ -754,7 +754,8 @@ where
Err(e) => {
state.write_log_mut().drop_tx();
tracing::error!(
"The fee unshielding tx is invalid, wasm run failed: {}",
"The first transaction in the batch failed to pay fees \
via the MASP, wasm run failed: {}",
e
);
if let Error::GasError(_) = e {
Expand Down

0 comments on commit 8edfa2b

Please sign in to comment.