Skip to content
This repository has been archived by the owner on Sep 27, 2024. It is now read-only.

Commit

Permalink
Don't show the fee in TransactionInfo if it's not sent by firod.
Browse files Browse the repository at this point in the history
  • Loading branch information
sproxet committed Sep 17, 2023
1 parent 288919b commit 69b38f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/daemon/firod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,11 @@ export interface Transaction {
inputType: 'public' | 'mined' | 'zerocoin' | 'sigma' | 'lelantus' | 'sparkmint' | 'sparkspend';
isFromMe: boolean;
firstSeenAt: number;
fee: bigint;
outputs: TxOut[];
publicInputs: CoinControl;
lelantusInputSerialHashes: string[];
sparkInputSerialHashes: string[];
fee?: bigint;
elysium?: ElysiumData;

// blockHash MAY be set without blockHeight or blockTime, in which case the transaction is from an orphaned block.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
</tr>
</template>

<tr>
<tr v-if="tx.fee !== undefined">
<td>Fee</td>
<td class="fee"><Amount :amount="tx.fee" ticker="FIRO" /></td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion src/store/modules/Transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface TXO extends TxOut {
validAt: number;
firstSeenAt: number;
isFromMe: boolean;
fee: bigint;
fee?: bigint;
spendSize?: number; // undefined if unknown
elysium?: ElysiumData;
lelantusInputSerialHashes?: string[];
Expand Down

0 comments on commit 69b38f6

Please sign in to comment.