From ddf10250c75c0f8289dc60225c9cf3d614a9d8cf Mon Sep 17 00:00:00 2001 From: Guillaume Ballet <3272758+gballet@users.noreply.github.com> Date: Tue, 22 Jun 2021 11:06:34 +0200 Subject: [PATCH] accounts/abi/bind: replace context.TODO with context.Background (#23088) --- accounts/abi/bind/base.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounts/abi/bind/base.go b/accounts/abi/bind/base.go index 0543c05ffa..25757f1d67 100644 --- a/accounts/abi/bind/base.go +++ b/accounts/abi/bind/base.go @@ -443,7 +443,7 @@ func (c *BoundContract) UnpackLogIntoMap(out map[string]interface{}, event strin // user specified it as such. func ensureContext(ctx context.Context) context.Context { if ctx == nil { - return context.TODO() + return context.Background() } return ctx }