aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Chow <github@achow101.com>2023-09-26 21:28:20 -0400
committerfanquake <fanquake@gmail.com>2023-10-02 13:29:04 +0100
commitd63478cb502de8345db2525f47abc1e9ef788733 (patch)
tree336469092adb30bc6a56720a0be4496a485a7399 /test
parent5e51a9cc7246700612887e78d1cfafc351529a9b (diff)
wallet: Check last block and conflict height are valid in MarkConflicted
MarkConflicted calculates conflict confirmations incorrectly when both the last block processed height and the conflicting height are negative (i.e. uninitialized). If either are negative, we should not be marking conflicts and should exit early. Github-Pull: #28542 Rebased-From: 4660fc82a1f5cf6eb6404d5268beef5919581661
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions