diff --git a/src/frontend/resources/common/js/components-popups/PreFlightModal.tsx b/src/frontend/resources/common/js/components-popups/PreFlightModal.tsx
index 35bf9f9..ef9364c 100644
--- a/src/frontend/resources/common/js/components-popups/PreFlightModal.tsx
+++ b/src/frontend/resources/common/js/components-popups/PreFlightModal.tsx
@@ -42,7 +42,7 @@ const PreFlightModal = ({
- You will not be able to cancel the transaction once you submit it.
- Your transaction could get stuck for an indefinite amount of time.
- - Funds canot be returned if they are sent to the wrong address.
+ - Funds cannot be returned if they are sent to the wrong address.
diff --git a/src/frontend/resources/common/js/models/ledgers/KeplrLedger.ts b/src/frontend/resources/common/js/models/ledgers/KeplrLedger.ts
index 6fd7af3..2062f26 100644
--- a/src/frontend/resources/common/js/models/ledgers/KeplrLedger.ts
+++ b/src/frontend/resources/common/js/models/ledgers/KeplrLedger.ts
@@ -193,7 +193,7 @@ export default class KeplrLedger implements Ledger {
denom: CosmosNetworkH.CURRENCY_DENOM,
},
bridgeFee: {
- amount: this.bridgeFee.toString(),
+ amount: this.bridgeFee.toString(10),
denom: CosmosNetworkH.CURRENCY_DENOM,
},
},
diff --git a/src/frontend/resources/common/js/models/ledgers/MetamaskLedger.ts b/src/frontend/resources/common/js/models/ledgers/MetamaskLedger.ts
index 038a024..a560f2f 100644
--- a/src/frontend/resources/common/js/models/ledgers/MetamaskLedger.ts
+++ b/src/frontend/resources/common/js/models/ledgers/MetamaskLedger.ts
@@ -85,7 +85,6 @@ export default class MetamaskLedger implements Ledger {
erc20Instance.methods.approve(Config.ORCHESTRATOR.BRIDGE_CONTRACT_ADDRESS, stringAmount)
.send({ from: account },
(err, transactionHash) => {
- this.txHash = transactionHash;
if (err) {
reject(err);
@@ -96,7 +95,7 @@ export default class MetamaskLedger implements Ledger {
gravityContract.methods.sendToCosmos(Config.ORCHESTRATOR.ERC20_CONTRACT_ADDRESS, `0x${toHex(addressBytes32Array)}`, stringAmount).send({ from: account, gas: this.gas })
.on('receipt', (confirmationNumber, receipt) => {
resolve();
- // console.log('receipt', confirmationNumber);
+ this.txHash = confirmationNumber.transactionHash;
})
.on('error', (e) => {
reject();