Skip to content

Commit

Permalink
support extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tron committed Aug 13, 2024
1 parent b323fec commit f7107d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/api/jetton_converters.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func (h *Handler) convertJettonBalance(ctx context.Context, wallet core.JettonWa
jettonBalance := oas.JettonBalance{
Balance: wallet.Balance.String(),
WalletAddress: convertAccountAddress(wallet.Address, h.addressBook),
Extensions: wallet.Extensions,
}
if wallet.Lock != nil {
jettonBalance.Lock = oas.NewOptJettonBalanceLock(oas.JettonBalanceLock{
Expand Down
2 changes: 1 addition & 1 deletion pkg/core/jetton.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ type JettonWallet struct {
OwnerAddress *tongo.AccountID
// JettonAddress of a jetton master.
JettonAddress tongo.AccountID
Code []byte
Lock *JettonWalletLockData
Extensions []string
}

type JettonHolder struct {
Expand Down

0 comments on commit f7107d2

Please sign in to comment.