Skip to content

Add tg.Add to exported wallet methods

Christopher Schinnerl requested to merge wallet-tg-add into master

Created by: ChrisSchinnerl

Exported methods of top-level modules that are called by the API directly should always call tg.Add. Especially if those methods access closable resources. e.g. wallet.ConfirmedBalance can currently be called during a shutdown which results in a error since ConfirmedBalance calls syncDB on a closed database.

Merge request reports