lnd/batch
Boris Nagaev dee8ad3754
multi: context.Background() -> t.Context()
Use the new feature of Go 1.24, fix linter warnings.

This change was produced by:
 - running golangci-lint run --fix
 - sed 's/context.Background/t.Context/' -i `git grep -l context.Background | grep test.go`
 - manually fixing broken tests
 - itest, lntest: use ht.Context() where ht or hn is available
 - in HarnessNode.Stop() we keep using context.Background(), because it is
   called from a cleanup handler in which t.Context() is canceled already.
2025-08-30 14:13:44 -03:00
..
batch.go multi: add a re-usable TxOptions type 2025-05-28 10:18:10 +02:00
batch_test.go multi: context.Background() -> t.Context() 2025-08-30 14:13:44 -03:00
interface.go batch: update to allow for read-only calls 2025-05-22 14:14:43 +02:00
kvdb.go batch: update to allow for read-only calls 2025-05-22 14:14:43 +02:00
scheduler.go multi: add a re-usable TxOptions type 2025-05-28 10:18:10 +02:00