Make the fee a sats-only field

This commit is contained in:
ai-bot committed 2026-11-15 10:33:45 +00:00
1 parent 48de68478c
commit 96185cb299
1 file changed
+3 -1
+3 -1
View File
@@ -27,7 +27,9 @@ MARKET_KINDS = ("exchange", "wallet", "other")
LOT_METHODS = ("FIFO", "LIFO", "HIFO")
SATS_FIELDS = ("leg_in_sats", "leg_out_sats", "fee_sats")
ORE_FIELDS = ("leg_in_ore", "leg_out_ore", "value_ore", "fee_ore")
# fee_ore is deliberately absent: a fee is entered in sats only, and the column
# stays 0 (docs/spec.md section 3.2).
ORE_FIELDS = ("leg_in_ore", "leg_out_ore", "value_ore")
_REQUIRED = {
"income": (