Skip to content

Commit

Permalink
fix: tron address
Browse files Browse the repository at this point in the history
  • Loading branch information
devkudasov committed Dec 24, 2024
1 parent 484399a commit 75311d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/screens/HomeStack/TransactionStack/transaction-sum.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const TransactionSumScreen = observer(() => {
Provider.selectedProvider;
const wallet = Wallet.getById(route.params.from);
const [to, setTo] = useState(
provider.isTron ? AddressUtils.hexToTron(route.params.to) : route.params.to,
provider.isTron ? AddressUtils.toTron(route.params.to) : route.params.to,
);
const balances = Wallet.getBalancesByAddressList([wallet!], provider);
const currentBalance = useMemo(
Expand Down

0 comments on commit 75311d7

Please sign in to comment.