diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:16:45 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | a567c061aa7407e34cd8e8afc7f1b21c2e2c1628 (patch) | |
tree | ccf8d725ca118df44b605f6d2963dc49b47c8666 /crypto/crypto_test.go | |
parent | ed67d8155556892f81a7f1a729a5733ed6318743 (diff) | |
download | dexon-a567c061aa7407e34cd8e8afc7f1b21c2e2c1628.tar dexon-a567c061aa7407e34cd8e8afc7f1b21c2e2c1628.tar.gz dexon-a567c061aa7407e34cd8e8afc7f1b21c2e2c1628.tar.bz2 dexon-a567c061aa7407e34cd8e8afc7f1b21c2e2c1628.tar.lz dexon-a567c061aa7407e34cd8e8afc7f1b21c2e2c1628.tar.xz dexon-a567c061aa7407e34cd8e8afc7f1b21c2e2c1628.tar.zst dexon-a567c061aa7407e34cd8e8afc7f1b21c2e2c1628.zip |
p2p/discover: fix peer discovery (#248)
The refactor in 4cd90e02e23ecf2bb11bcb4bba4fea2ae164ef74 introduced
livness checks for nodes. However, the change in
86ec742f975d825f42dd69ebf17b0adaa66542c0 did not properly set the
initial liveness check value for verified node. For verified node we
should set livenessCheck to 1 initially.
Without this change, the node entry will not be properly send to other
nodes and the network would be broken.
Diffstat (limited to 'crypto/crypto_test.go')
0 files changed, 0 insertions, 0 deletions