We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bc73f97 + dc57c32 commit 61a6da5Copy full SHA for 61a6da5
libindy/src/services/pool/catchup.rs
@@ -78,7 +78,7 @@ impl CatchupHandler {
78
//sending ledger status
79
//TODO not send ledger status directly as response on ping, wait pongs from all nodes?
80
let ls: LedgerStatus = LedgerStatus {
81
- txnSeqNo: self.nodes.len(),
+ txnSeqNo: self.merkle_tree.count,
82
merkleRoot: self.merkle_tree.root_hash().as_slice().to_base58(),
83
ledgerId: 0,
84
ppSeqNo: None,
@@ -289,6 +289,7 @@ impl CatchupHandler {
289
return Ok(CatchupStepResult::FailedAtNode(node_idx));
290
}
291
292
+ self.merkle_tree = temp_mt.clone();
293
PoolWorker::dump_new_txns(&self.pool_name, &vec_to_dump)?;
294
295
process.merkle_tree = temp_mt;
0 commit comments