Skip to content

Commit

Permalink
Fix rust lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
banool committed Jan 4, 2024
1 parent 04d5eb0 commit 04f6912
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,14 @@ impl Signature {
t: &TransactionSignaturePb,
transaction_version: i64,
) -> Option<String> {
match t.signature.as_ref().unwrap_or_else(|| {
let sig = t.signature.as_ref().unwrap_or_else(|| {
tracing::error!(
transaction_version = transaction_version,
"Transaction signature is missing"
);
panic!("Transaction signature is missing");
}) {
});
match sig {
SignatureEnum::FeePayer(sig) => Some(standardize_address(&sig.fee_payer_address)),
_ => None,
}
Expand Down

0 comments on commit 04f6912

Please sign in to comment.