Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bugfix] Fix incorrect disconnect call for static functions Problem: When using `uiInterface.NotifyBlockTip.disconnect(BlockNotifyGenesisWait)` to disconnect a static function, the compilation fails because `boost::signals2::disconnect` requires the exact type signature match of the slot. Using the function name directly doesn't resolve to the correct function pointer for static functions. Solution: The fix explicitly uses `&BlockNotifyGenesisWait` to pass the function pointer. This resolves the compilation error. Impact: Only affects the disconnect mechanism for static functions in `uiInterface.NotifyBlockTip`. Signed-off-by: Dongyan Qian <[email protected]>
- Loading branch information