Skip to content

Commit 93dd99a

Browse files
committed
Fix empty sig check
1 parent 248163f commit 93dd99a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

relay/src/handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ impl Handler {
132132
}
133133
let chain = chain.prove(&builder.chain_proof_request()).await?;
134134
let (msg, unsigned) = builder.build(chain)?;
135-
if !unsigned.is_empty() {
135+
if !unsigned.is_empty() && unsigned.iter().all(|u| !u.records.is_empty()) {
136136
let missing_sigs = unsigned.iter().map(|u| u.canonical.to_string())
137137
.collect::<Vec<_>>().join(", ");
138138

0 commit comments

Comments
 (0)