Skip to content

Commit 332b5e1

Browse files
committed
Fix lint
Signed-off-by: Leonard Lyubich <leonard@morphbits.io>
1 parent d46fb9b commit 332b5e1

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

contracts/container/contract.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1819,7 +1819,7 @@ func notifyNEP11Transfer(tokenID []byte, from, to interop.Hash160) {
18191819

18201820
func onNEP11PaymentSafe(tokenID []byte, from, to interop.Hash160, data any) {
18211821
// recover potential panic, i.e. contract exception
1822-
defer func() { recover() }()
1822+
defer func() { _ = recover() }()
18231823
onNEP11Payment(tokenID, from, to, data)
18241824
}
18251825

contracts/container/contract.nef

2 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)