@@ -137,12 +137,13 @@ async function fetchTransactionsAsHistoryEntries(
137137 message : updateMessageForFailed ,
138138 type : HistoryEntryType . CompletedTransaction ,
139139 transactionIcon : icon ,
140- amount : tx . amount ? formatAmount ( tx . amount , tx . type , tokenMetadata ?. decimals ) : undefined ,
140+ amount : tx . amount ? formatAmount ( tx . amount , tokenMetadata ?. decimals ) : undefined ,
141141 token : tokenMetadata ? tokenMetadata . symbol : undefined ,
142142 secondaryAddress : tx . secondaryAccountId ,
143143 txId : tx . id ,
144144 noteType : tx . noteType ,
145- faucetId : tx . faucetId
145+ faucetId : tx . faucetId ,
146+ txType : tx . type
146147 } as IHistoryEntry ;
147148
148149 return entry ;
@@ -166,13 +167,14 @@ async function fetchPendingTransactionsAsHistoryEntries(address: string, tokenId
166167 secondaryMessage : formatTransactionStatus ( tx . status ) ,
167168 timestamp : tx . initiatedAt ,
168169 message : tx . displayMessage || 'Generating transaction' ,
169- amount : tx . amount ? formatAmount ( tx . amount , tx . type , tokenMetadata ?. decimals ) : undefined ,
170+ amount : tx . amount ? formatAmount ( tx . amount , tokenMetadata ?. decimals ) : undefined ,
170171 token : tokenMetadata ? tokenMetadata . symbol : undefined ,
171172 secondaryAddress : tx . secondaryAccountId ,
172173 txId : tx . id ,
173174 type : entryType ,
174175 noteType : tx . noteType ,
175- faucetId : tx . faucetId
176+ faucetId : tx . faucetId ,
177+ txType : tx . type
176178 } as IHistoryEntry ;
177179 } ) ;
178180 const entries = await Promise . all ( entryPromises ) ;
0 commit comments