Skip to content

Commit

Permalink
Correct comparison for sender (#660)
Browse files Browse the repository at this point in the history
  • Loading branch information
citizen-stig authored and preston-evans98 committed Sep 14, 2023
1 parent b3f8170 commit b0e76dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/celestia/src/verifier/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ impl da::DaVerifier for CelestiaVerifier {
continue;
}
let tx: &BlobWithSender = tx_iter.next().ok_or(ValidationError::MissingTx)?;
if tx.sender.as_ref() != pfb.signer.as_bytes() {
if tx.sender.to_string() != pfb.signer {
return Err(ValidationError::InvalidSigner);
}

Expand Down

0 comments on commit b0e76dd

Please sign in to comment.