Added comments for new AddAllNewTxRequest method
This commit is contained in:
parent
b89e93e52f
commit
354cc38d2d
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue