mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 04:09:23 +00:00
Fix #643
This commit is contained in:
@@ -401,6 +401,11 @@ pub trait Rpc: Sync + Clone {
|
|||||||
txs.missed_tx.iter().map(|hash| hash_hex(hash)).collect::<Result<_, _>>()?,
|
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);
|
all_txs.extend(txs.txs);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user