aboutsummaryrefslogtreecommitdiff
path: root/src/hotstuff.cpp
diff options
context:
space:
mode:
authorDeterminant <ted.sybil@gmail.com>2019-03-27 15:06:29 -0400
committerDeterminant <ted.sybil@gmail.com>2019-03-27 15:06:29 -0400
commit37f7812a240e419c9aaf39a6069d113cfb45be0b (patch)
tree04d3e71db4be531d602eca66ee8bd3673cd8aee8 /src/hotstuff.cpp
parentbe0caa593b9ff05e1ef138abfd17995d4a5eebfc (diff)
add options
Diffstat (limited to 'src/hotstuff.cpp')
-rw-r--r--src/hotstuff.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hotstuff.cpp b/src/hotstuff.cpp
index 557a81e..f174559 100644
--- a/src/hotstuff.cpp
+++ b/src/hotstuff.cpp
@@ -362,13 +362,13 @@ HotStuffBase::HotStuffBase(uint32_t blk_size,
pacemaker_bt pmaker,
EventContext ec,
size_t nworker,
- const Net::Config &config):
+ const Net::Config &netconfig):
HotStuffCore(rid, std::move(priv_key)),
listen_addr(listen_addr),
blk_size(blk_size),
ec(ec),
vpool(ec, nworker),
- pn(ec, config),
+ pn(ec, netconfig),
pmaker(std::move(pmaker)),
fetched(0), delivered(0),