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

pull/23090/head
Guillaume Ballet 3 years ago committed by GitHub
parent fcd7bdc2b7
commit ddf10250c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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
}

Loading…
Cancel
Save