Skip to content

Commit

Permalink
Fixes unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
grarco committed Jan 23, 2025
1 parent 5804387 commit 25d2e92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/node/src/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ where
// process_proposal.
tracing::error!(
"Transfer of tx fee cannot be applied because of \
an eror: {}. This shouldn't happen.",
an error: {}. This shouldn't happen.",
e
);
return Err(e.into());
Expand Down
7 changes: 4 additions & 3 deletions crates/node/src/shell/process_proposal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1096,9 +1096,10 @@ mod test_process_proposal {
assert_eq!(response.result.code, u32::from(ResultCode::FeeError));
assert!(response.result.info.contains(
"Error trying to apply a transaction: Error while processing \
transaction's fees: The first transaction in the batch failed to \
pay fees via the MASP. Wasm run failed: Transaction runner \
error: Wasm validation error"
transaction's fees: The transparent balance of the fee payer was \
insufficient to pay fees. The protocol tried to run the first \
transaction in the batch to pay fees via the MASP but it failed: \
Wasm run failed: Transaction runner error: Wasm validation error"
));
}

Expand Down

0 comments on commit 25d2e92

Please sign in to comment.