From 870d09e53d93eee04e06fd225bfe4b124b7610aa Mon Sep 17 00:00:00 2001 From: Determinant Date: Fri, 23 Aug 2019 13:46:13 -0400 Subject: fix bugs --- src/hotstuff.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/hotstuff.cpp') diff --git a/src/hotstuff.cpp b/src/hotstuff.cpp index 5ae0fe6..b584af0 100644 --- a/src/hotstuff.cpp +++ b/src/hotstuff.cpp @@ -184,7 +184,7 @@ promise_t HotStuffBase::async_deliver_blk(const uint256_t &blk_hash, for (const auto &phash: blk->get_parent_hashes()) pms.push_back(async_deliver_blk(phash, replica_id)); if (blk != get_genesis()) - pms.push_back(blk->verify(get_config(), vpool)); + pms.push_back(blk->verify(this, vpool)); promise::all(pms).then([this, blk]() { on_deliver_blk(blk); }); -- cgit v1.2.3-70-g09d2