Skip to content

Commit

Permalink
fix: fixed the fee calculation on ram buy page
Browse files Browse the repository at this point in the history
  • Loading branch information
dafuga committed Oct 1, 2024
1 parent eb5991c commit 43ff726
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/routes/[network]/(account)/ram/buy/state.svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export class BuyRAMState {
return Serializer.objectify({
payer: this.payer,
receiver: this.receiver,
quant: this.bytesValue
quant: this.bytesCost
});
} else {
return Serializer.objectify({
Expand Down
2 changes: 1 addition & 1 deletion src/routes/[network]/(account)/ram/buy/tokens/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
{#if context.account}
{context.account.balance?.liquid}
{:else}
0.0000 {data.network.chain.systemToken.symbol.code}
0.0000 {data.network.chain.systemToken?.symbol.code || ''}
{/if}
</p>
</Stack>
Expand Down

0 comments on commit 43ff726

Please sign in to comment.