mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 21:26:43 +00:00
add comment to transactions csv on the approximate nature of the fiat values
This commit is contained in:
parent
f590794589
commit
bb32a1e7b1
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue