diff --git a/pkg/bath/straws.go b/pkg/bath/straws.go index 697b3b1f..dac2cb8c 100644 --- a/pkg/bath/straws.go +++ b/pkg/bath/straws.go @@ -82,7 +82,7 @@ var JettonTransferPTONStraw = Straw[BubbleJettonTransfer]{ newAction.amount = body.Amount newAction.isWrappedTon = true recipient, err := ton.AccountIDFromTlb(body.Destination) - if err == nil { + if err == nil && recipient != nil { newAction.recipient = &Account{Address: *recipient} bubble.Accounts = append(bubble.Accounts, *recipient) }