mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-11-27 07:48:44 +00:00
fix misnamed variable.
This commit is contained in:
parent
a4c3605d0d
commit
fdfc881502
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user