mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-10 16:43:14 +00:00
add comment to transactions csv on the approximate nature of the fiat values
This commit is contained in:
@@ -96,6 +96,12 @@ public class WalletTransactions implements WalletExport {
|
||||
writer.write(txEntry.getBlockTransaction().getHash().toString());
|
||||
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();
|
||||
} catch(IOException e) {
|
||||
throw new ExportException("Error writing transactions CSV", e);
|
||||
|
||||
Reference in New Issue
Block a user