Skip to content

Commit

Permalink
Fix amount and destination display
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicletz committed Feb 19, 2025
1 parent fe288a1 commit 006466e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions network/vue/bridge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
<h3>Transaction: <% txid %>
</h3>
<p>Sender: <% txSender %>
<p>Destination: <% destination %>
<p>Amount: <% valueToBalance(amount) %>
<p>Destination: <% txDestination %>
<p>Amount: <% valueToBalance(txAmount) %>
</p>
<div v-if="error" v-html="error" class="error"></div>

Expand Down Expand Up @@ -151,6 +151,8 @@ var Bridge = Vue.component("bridge", {
this.tx = await async_call(bridgeOutMethods["txsAt"], "0x2c303A315a1Ee4c377E28121BaF30146e229731b", [1284, txid]);
this.txBlock = Number(this.tx[4]);
this.txSender = this.tx[0];
this.txDestination = this.tx[1];
this.txAmount = this.tx[2];
this.currentBlock = await web3.eth.getBlockNumber();
await this.updateTxPending();
},
Expand Down

0 comments on commit 006466e

Please sign in to comment.