From fdfc881502cf20c442a261617384acce10f2196d Mon Sep 17 00:00:00 2001 From: D-Stacks Date: Fri, 17 Jun 2022 11:03:54 +0200 Subject: [PATCH] fix misnamed variable. --- app/rpc/rpccontext/notificationmanager.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/rpc/rpccontext/notificationmanager.go b/app/rpc/rpccontext/notificationmanager.go index a9f33dbb5..ccfda5fe3 100644 --- a/app/rpc/rpccontext/notificationmanager.go +++ b/app/rpc/rpccontext/notificationmanager.go @@ -353,6 +353,7 @@ func (nl *NotificationListener) PropagateBlockAddedNotifications(id string) { // PropagateVirtualSelectedParentChainChangedNotifications instructs the listener to send chain changed notifications // to the remote listener func (nl *NotificationListener) PropagateVirtualSelectedParentChainChangedNotifications(includeAcceptedTransactionIDs bool, id string) { + nl.propagateVirtualSelectedParentChainChangedNotificationsID = id nl.propagateVirtualSelectedParentChainChangedNotifications = true nl.includeAcceptedTransactionIDsInVirtualSelectedParentChainChangedNotifications = includeAcceptedTransactionIDs } @@ -480,7 +481,7 @@ func (nl *NotificationListener) scriptPubKeyStringToAddressString(scriptPublicKe // PropagateVirtualSelectedParentBlueScoreChangedNotifications instructs the listener to send // virtual selected parent blue score notifications to the remote listener func (nl *NotificationListener) PropagateVirtualSelectedParentBlueScoreChangedNotifications(id string) { - nl.propagateVirtualDaaScoreChangedNotificationsID = id + nl.propagateVirtualSelectedParentBlueScoreChangedNotificationsID = id nl.propagateVirtualSelectedParentBlueScoreChangedNotifications = true }