diff options
author | Determinant <ted.sybil@gmail.com> | 2018-09-10 16:07:21 -0400 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2018-09-10 16:07:21 -0400 |
commit | 073f33b2bdbef4fb711174033707d7b164036b6e (patch) | |
tree | f351d7119a3764fe72d6ad5a0b66f0a22ada9fb0 /src/consensus.cpp | |
parent | d959b9c8db4e9ba9695c08ae6c2f06edb6e82fdc (diff) | |
parent | 6261c95184b86c43755071b351e6928f89e2343c (diff) |
Merge branch 'multithreaded-verifier'
Diffstat (limited to 'src/consensus.cpp')
-rw-r--r-- | src/consensus.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/consensus.cpp b/src/consensus.cpp index d40f488..c80de59 100644 --- a/src/consensus.cpp +++ b/src/consensus.cpp @@ -196,11 +196,11 @@ void HotStuffCore::on_receive_vote(const Vote &vote) { block_t blk = get_delivered_blk(vote.blk_hash); if (vote.cert == nullptr) return; /* otherwise the vote is positive */ - if (!vote.verify()) - { - LOG_WARN("invalid vote from %d", vote.voter); - return; - } + //if (!vote.verify()) + //{ + // LOG_WARN("invalid vote from %d", vote.voter); + // return; + //} if (!blk->voted.insert(vote.voter).second) { LOG_WARN("duplicate vote from %d", vote.voter); |