Skip to content

Commit ddf1025

Browse files
authored
accounts/abi/bind: replace context.TODO with context.Background (ethereum#23088)
1 parent fcd7bdc commit ddf1025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accounts/abi/bind/base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ func (c *BoundContract) UnpackLogIntoMap(out map[string]interface{}, event strin
443443
// user specified it as such.
444444
func ensureContext(ctx context.Context) context.Context {
445445
if ctx == nil {
446-
return context.TODO()
446+
return context.Background()
447447
}
448448
return ctx
449449
}

0 commit comments

Comments
 (0)