mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-24 15:02:32 +00:00
Added comments for new AddAllNewTxRequest method
This commit is contained in:
parent
b89e93e52f
commit
354cc38d2d
@ -84,6 +84,8 @@ func (r *wsContext) AddBlockUpdateRequest(n ntfnChan) {
|
|||||||
rc.blockUpdates = true
|
rc.blockUpdates = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// AddAllNewTxRequest adds the request context to mark a wallet as
|
||||||
|
// having requested updates for all new transactions.
|
||||||
func (r *wsContext) AddAllNewTxRequest(n ntfnChan, verbose bool) {
|
func (r *wsContext) AddAllNewTxRequest(n ntfnChan, verbose bool) {
|
||||||
r.Lock()
|
r.Lock()
|
||||||
defer r.Unlock()
|
defer r.Unlock()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user