]> git.bitcoin.ninja Git - rust-lightning/commit
Correctly mark chain_sync updates in test_utils
authorGursharan Singh <3442979+G8XSU@users.noreply.github.com>
Fri, 29 Sep 2023 04:18:47 +0000 (21:18 -0700)
committerGursharan Singh <3442979+G8XSU@users.noreply.github.com>
Fri, 29 Sep 2023 23:26:29 +0000 (16:26 -0700)
commit13eac47ed939fc44cffb5f7b25bbbf4684ae8fde
tree37a1ad41defc68f5148035f04b3cbf60fe37bebb
parentdb41b87d311294472a3f30bd64ba20ecf4a034a0
Correctly mark chain_sync updates in test_utils

We were incorrectly marking updates as chain_sync
or not in test_utils based on whether monitor_update
is None or not. Instead, use UpdateOrigin to determine it.
lightning/src/chain/chainmonitor.rs
lightning/src/util/test_utils.rs