Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/sync-8.0.5.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
mwmerz committed Jan 16, 2024
2 parents fb25a5e + 9bf9755 commit 4e10cbc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"manifest_version": 3,
"name": "Station Wallet",
"version": "8.0.5",
"version_name": "8.0.5",
"version": "8.0.5.1",
"version_name": "8.0.5.1",
"background": {
"service_worker": "background.js"
},
Expand Down
3 changes: 2 additions & 1 deletion src/data/token.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ export const useNativeDenoms = () => {
icon: "https://assets.terra.dev/icon/svg/LUNC.svg",
decimals: 6,
isNonWhitelisted: false,
chainID: "colombus-5",
}
} else if (chainID === "phoenix-1" || chainID === "pisco-1") {
return {
Expand Down Expand Up @@ -385,7 +386,7 @@ export const useParsedAssetList = () => {
const { name: chainName, icon: chainIcon } = networks[chain] || {}
const chainTokenItem = {
denom,
id: `${token}*${chain}`,
id: `${token}*${nativeChain}*${chain}`,
decimals,
balance: parseInt(amount),
tokenPrice,
Expand Down
10 changes: 7 additions & 3 deletions src/pages/wallet/SendPage/Confirm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,17 @@ const Confirm = () => {
}, [assetInfo, destination, chain])

const createTx = useCallback(
({ address, memo }: TxValues) => {
({ memo }: TxValues) => {
const amount = toAmount(input, { decimals: assetInfo?.decimals })
const { senderAddress, denom, channel } = assetInfo ?? {}

if (!(recipient && AccAddress.validate(recipient))) return
if (!(chain && destination && denom && amount && senderAddress)) return

const execute_msg = { transfer: { recipient: address, amount } }
const execute_msg = {
transfer: { recipient, amount },
}

let msgs

if (destination === chain) {
Expand All @@ -111,7 +115,7 @@ const Confirm = () => {
msg: Buffer.from(
JSON.stringify({
channel,
remote_address: address,
remote_address: recipient,
})
).toString("base64"),
},
Expand Down
2 changes: 1 addition & 1 deletion src/utils/ledger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const LedgerActionOverlay = () => {
appName: appName ?? "Terra",
})
case LedgerDeviceAction.CONFIRM:
return t("Confirm the transaction on yout Ledger")
return t("Confirm the transaction on your Ledger")
}
}

Expand Down

0 comments on commit 4e10cbc

Please sign in to comment.