未验证 提交 ddf10250 编写于 作者: G Guillaume Ballet 提交者: GitHub

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

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册