aboutsummaryrefslogtreecommitdiff
path: root/src/script.cpp
diff options
context:
space:
mode:
authorHuang Le <[email protected]>2014-05-30 23:44:44 +0800
committerHuang Le <[email protected]>2014-05-30 23:44:44 +0800
commit09a54a65c0d05fe93c4a31603eca8a9a76ff6526 (patch)
treee21ed038f6d9b37541290cc100b0f693de08a9d5 /src/script.cpp
parentMerge pull request #4252 (diff)
downloaddiscoin-09a54a65c0d05fe93c4a31603eca8a9a76ff6526.tar.xz
discoin-09a54a65c0d05fe93c4a31603eca8a9a76ff6526.zip
Use pnode->nLastRecv as sync score directly
NodeSyncScore() should find the node which we recv data most recently, so put a negative sign to pnode->nLastRecv is indeed wrong. Also change the return value type to int64_t. Signed-off-by: Huang Le <[email protected]>
Diffstat (limited to 'src/script.cpp')
0 files changed, 0 insertions, 0 deletions