We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3203f8d commit 41b2465Copy full SHA for 41b2465
pkg/bath/straws.go
@@ -82,7 +82,7 @@ var JettonTransferPTONStraw = Straw[BubbleJettonTransfer]{
82
newAction.amount = body.Amount
83
newAction.isWrappedTon = true
84
recipient, err := ton.AccountIDFromTlb(body.Destination)
85
- if err == nil {
+ if err == nil && recipient != nil {
86
newAction.recipient = &Account{Address: *recipient}
87
bubble.Accounts = append(bubble.Accounts, *recipient)
88
}
0 commit comments