Skip to content

Commit 7173574

Browse files
committed
append jetton recipient to bubble accounts
1 parent c990f97 commit 7173574

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/bath/straws.go

+2
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ var JettonTransferPTONStraw = Straw[BubbleJettonTransfer]{
8484
recipient, err := ton.AccountIDFromTlb(body.Destination)
8585
if err == nil {
8686
newAction.recipient = &Account{Address: *recipient}
87+
bubble.Accounts = append(bubble.Accounts, *recipient)
8788
}
8889
return nil
8990
},
@@ -114,6 +115,7 @@ var JettonTransferClassicStraw = Straw[BubbleJettonTransfer]{
114115
recipient, err := ton.AccountIDFromTlb(body.Destination)
115116
if err == nil && recipient != nil {
116117
newAction.recipient = &Account{Address: *recipient}
118+
bubble.Accounts = append(bubble.Accounts, *recipient)
117119
}
118120
return nil
119121
},

0 commit comments

Comments
 (0)