diff --git a/src/routes/[network]/(account)/ram/buy/state.svelte.ts b/src/routes/[network]/(account)/ram/buy/state.svelte.ts index d5812c23..8d222546 100644 --- a/src/routes/[network]/(account)/ram/buy/state.svelte.ts +++ b/src/routes/[network]/(account)/ram/buy/state.svelte.ts @@ -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({ diff --git a/src/routes/[network]/(account)/ram/buy/tokens/+page.svelte b/src/routes/[network]/(account)/ram/buy/tokens/+page.svelte index 05235004..e1394eaa 100644 --- a/src/routes/[network]/(account)/ram/buy/tokens/+page.svelte +++ b/src/routes/[network]/(account)/ram/buy/tokens/+page.svelte @@ -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}