diff --git a/networks/monero/rpc/src/lib.rs b/networks/monero/rpc/src/lib.rs index 995ccb1a..d59ba821 100644 --- a/networks/monero/rpc/src/lib.rs +++ b/networks/monero/rpc/src/lib.rs @@ -401,6 +401,11 @@ pub trait Rpc: Sync + Clone { txs.missed_tx.iter().map(|hash| hash_hex(hash)).collect::>()?, ))?; } + 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); }