From 96185cb299a22237865699f56971410724b1c69f Mon Sep 17 00:00:00 2001 From: ai-bot Date: Sun, 15 Nov 2026 10:33:45 +0000 Subject: [PATCH] Make the fee a sats-only field --- validation.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/validation.py b/validation.py index 728636b..30c0885 100644 --- a/validation.py +++ b/validation.py @@ -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": (