add comment to transactions csv on the approximate nature of the fiat values

This commit is contained in:
Craig Raw 2023-11-21 17:59:13 +02:00
parent f590794589
commit bb32a1e7b1

View file

@ -96,6 +96,12 @@ public class WalletTransactions implements WalletExport {
writer.write(txEntry.getBlockTransaction().getHash().toString()); writer.write(txEntry.getBlockTransaction().getHash().toString());
writer.endRecord(); writer.endRecord();
} }
if(fiatCurrency != null) {
writer.endRecord();
writer.writeComment(" Historical " + fiatCurrency.getCurrencyCode() + " values are taken from daily rates and should only be considered as approximate.");
}
writer.close(); writer.close();
} catch(IOException e) { } catch(IOException e) {
throw new ExportException("Error writing transactions CSV", e); throw new ExportException("Error writing transactions CSV", e);