Skip to content

Commit

Permalink
cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Alrighttt committed Nov 19, 2024
1 parent 586a022 commit ba8752a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm2src/coins/siacoin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1499,7 +1499,7 @@ impl TryFrom<ValidatePaymentInput> for SiaValidatePaymentInput {
// FIXME Alright - pubkey padding hack, see SiaCoin::derive_htlc_pubkey
if args.other_pub.len() != 33 {
return Err(SiaValidatePaymentInputError::InvalidOtherPublicKeyLength(
args.other_pub.clone(),
args.other_pub,
));
}
let other_pub = PublicKey::from_bytes(&args.other_pub[..32])?;
Expand Down

0 comments on commit ba8752a

Please sign in to comment.