accounts/abi/bind: replace context.TODO with context.Background (#23088)

This commit is contained in:
Guillaume Ballet
2021-06-22 12:06:34 +03:00
committed by GitHub
parent fcd7bdc2b7
commit ddf10250c7
+1 -1
View File
@@ -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
}