admin_cost consumes no lots, so it is not a consuming type

This commit is contained in:
ai-bot committed 2026-11-14 18:01:44 +00:00
1 parent 7b66bc1650
commit 835505e1e7
1 file changed
+2 -2
+2 -2
View File
@@ -20,14 +20,14 @@ LOT_METHODS = ("FIFO", "LIFO", "HIFO")
# Types that take sats out of an account. A sats fee is added to the amount
# consumed only where docs/spec.md section 3.2 says it increases the sats used:
# a sale and a spend. For a transfer the fee reduces what arrives instead, and
# for loss, gift given and admin cost the fee is only recorded.
# for a loss and a gift given it is only recorded. admin_cost is not here at
# all: it stands on its own and changes no holdings (section 3.10).
CONSUMING_TYPES = (
"trade",
"spend",
"loss",
"transfer_out",
"gift_given",
"admin_cost",
)
FEE_ADDS_TO_CONSUMPTION = ("trade", "spend")