fix misnamed variable.

This commit is contained in:
D-Stacks 2022-06-17 11:03:54 +02:00
parent a4c3605d0d
commit fdfc881502

View File

@ -353,6 +353,7 @@ func (nl *NotificationListener) PropagateBlockAddedNotifications(id string) {
// PropagateVirtualSelectedParentChainChangedNotifications instructs the listener to send chain changed notifications // PropagateVirtualSelectedParentChainChangedNotifications instructs the listener to send chain changed notifications
// to the remote listener // to the remote listener
func (nl *NotificationListener) PropagateVirtualSelectedParentChainChangedNotifications(includeAcceptedTransactionIDs bool, id string) { func (nl *NotificationListener) PropagateVirtualSelectedParentChainChangedNotifications(includeAcceptedTransactionIDs bool, id string) {
nl.propagateVirtualSelectedParentChainChangedNotificationsID = id
nl.propagateVirtualSelectedParentChainChangedNotifications = true nl.propagateVirtualSelectedParentChainChangedNotifications = true
nl.includeAcceptedTransactionIDsInVirtualSelectedParentChainChangedNotifications = includeAcceptedTransactionIDs nl.includeAcceptedTransactionIDsInVirtualSelectedParentChainChangedNotifications = includeAcceptedTransactionIDs
} }
@ -480,7 +481,7 @@ func (nl *NotificationListener) scriptPubKeyStringToAddressString(scriptPublicKe
// PropagateVirtualSelectedParentBlueScoreChangedNotifications instructs the listener to send // PropagateVirtualSelectedParentBlueScoreChangedNotifications instructs the listener to send
// virtual selected parent blue score notifications to the remote listener // virtual selected parent blue score notifications to the remote listener
func (nl *NotificationListener) PropagateVirtualSelectedParentBlueScoreChangedNotifications(id string) { func (nl *NotificationListener) PropagateVirtualSelectedParentBlueScoreChangedNotifications(id string) {
nl.propagateVirtualDaaScoreChangedNotificationsID = id nl.propagateVirtualSelectedParentBlueScoreChangedNotificationsID = id
nl.propagateVirtualSelectedParentBlueScoreChangedNotifications = true nl.propagateVirtualSelectedParentBlueScoreChangedNotifications = true
} }