From 4d33161d681afba12bd4931d7e6b043292e7889e Mon Sep 17 00:00:00 2001 From: Nikita Gavrilin Date: Tue, 14 May 2024 10:58:14 +0300 Subject: [PATCH] Fixed payload --- pyproject.toml | 2 +- stonfi/contracts/dex/v1/router.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8bf5579..2c4cc59 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "stonfi" -version = "0.8" +version = "0.9" description = "Async Python SDK for StonFi DEX" authors = [ {name = "LapisMYT (Nikita Gavrilin)", email = "nikitagavrilin005@gmail.com"} diff --git a/stonfi/contracts/dex/v1/router.py b/stonfi/contracts/dex/v1/router.py index 893f342..200b33b 100644 --- a/stonfi/contracts/dex/v1/router.py +++ b/stonfi/contracts/dex/v1/router.py @@ -112,7 +112,7 @@ async def build_swap_ton_to_jetton_tx_params(self, return { 'to': offer_jetton_wallet.address.to_str(), - 'payload': payload.to_boc(False), + 'payload': payload, 'amount': offer_amount + forward_gas_amount }