Skip to content

Commit

Permalink
Include more information in error message when builder signature is i…
Browse files Browse the repository at this point in the history
…nvalid
  • Loading branch information
jbearer committed Jul 19, 2024
1 parent 9e5cbb5 commit ad0e7a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion types/src/v0/impls/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,8 @@ impl Header {
&ns_table,
&payload_commitment,
),
"invalid builder signature"
"invalid builder signature, account: {}, fee: {builder_fee:?}, ns_table: {ns_table:?}, payload_commitment: {payload_commitment}",
builder_fee.fee_account,
);
let builder_signature = Some(builder_fee.fee_signature);
let fee_info = builder_fee.into();
Expand Down

0 comments on commit ad0e7a4

Please sign in to comment.