Unverified Commit ddf10250 authored by Guillaume Ballet's avatar Guillaume Ballet Committed by GitHub

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

parent fcd7bdc2
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment