From 71735741ea3e3296a11b14f572a8e883291b5f39 Mon Sep 17 00:00:00 2001 From: Victoria Erokhina Date: Wed, 29 Jan 2025 14:55:16 +0000 Subject: [PATCH] append jetton recipient to bubble accounts --- pkg/bath/straws.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/bath/straws.go b/pkg/bath/straws.go index d8ed12a2..697b3b1f 100644 --- a/pkg/bath/straws.go +++ b/pkg/bath/straws.go @@ -84,6 +84,7 @@ var JettonTransferPTONStraw = Straw[BubbleJettonTransfer]{ recipient, err := ton.AccountIDFromTlb(body.Destination) if err == nil { newAction.recipient = &Account{Address: *recipient} + bubble.Accounts = append(bubble.Accounts, *recipient) } return nil }, @@ -114,6 +115,7 @@ var JettonTransferClassicStraw = Straw[BubbleJettonTransfer]{ recipient, err := ton.AccountIDFromTlb(body.Destination) if err == nil && recipient != nil { newAction.recipient = &Account{Address: *recipient} + bubble.Accounts = append(bubble.Accounts, *recipient) } return nil },