This commit is contained in:
Luke Parker
2025-08-08 23:57:19 -04:00
parent c7f825a192
commit 387615705c

View File

@@ -401,6 +401,11 @@ pub trait Rpc: Sync + Clone {
txs.missed_tx.iter().map(|hash| hash_hex(hash)).collect::<Result<_, _>>()?,
))?;
}
if txs.txs.len() != this_count {
Err(RpcError::InvalidNode(
"not missing any transactions yet didn't return all transactions".to_string(),
))?;
}
all_txs.extend(txs.txs);
}