Skip to content

Commit c057a48

Browse files
committed
update tongo and remove check on nil
1 parent 908435d commit c057a48

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ require (
2424
github.com/sourcegraph/conc v0.3.0
2525
github.com/stretchr/testify v1.9.0
2626
github.com/tonkeeper/scam_backoffice_rules v0.0.1
27-
github.com/tonkeeper/tongo v1.14.7
27+
github.com/tonkeeper/tongo v1.14.8
2828
go.opentelemetry.io/otel v1.24.0
2929
go.opentelemetry.io/otel/metric v1.24.0
3030
go.opentelemetry.io/otel/trace v1.24.0

go.sum

+2
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ github.com/tonkeeper/tongo v1.14.6 h1:6LVOfqncUgGB06LKgWJMMuOTK5vrIeiUofT0XTWYEM
276276
github.com/tonkeeper/tongo v1.14.6/go.mod h1:MjgIgAytFarjCoVjMLjYEtpZNN1f2G/pnZhKjr28cWs=
277277
github.com/tonkeeper/tongo v1.14.7 h1:Oz/CU9iPQz30juIMM8gpfVQhDG8/5d/HqHvzxj4HkIA=
278278
github.com/tonkeeper/tongo v1.14.7/go.mod h1:MjgIgAytFarjCoVjMLjYEtpZNN1f2G/pnZhKjr28cWs=
279+
github.com/tonkeeper/tongo v1.14.8 h1:hIj3rGqAhhPxHBiFXAwDDELEw63hLcQlLdSztmEIyaA=
280+
github.com/tonkeeper/tongo v1.14.8/go.mod h1:MjgIgAytFarjCoVjMLjYEtpZNN1f2G/pnZhKjr28cWs=
279281
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
280282
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
281283
github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ=

pkg/core/trace.go

-3
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,6 @@ func hasInterface(interfacesList []abi.ContractInterface, name abi.ContractInter
193193
}
194194

195195
func Visit(trace *Trace, fn func(trace *Trace)) {
196-
if trace == nil {
197-
return
198-
}
199196
fn(trace)
200197
for _, child := range trace.Children {
201198
Visit(child, fn)

0 commit comments

Comments
 (0)