Refuse a buy that overdraws the kroner
This commit is contained in:
1 parent
122253c280
commit
dc7053efe1
1 file changed
+3
-1
+3
-1
@@ -233,7 +233,9 @@ never both**:
|
||||
A `transfer_out` is refused when the source account does not hold enough of the currency as of
|
||||
the transaction date: the lot ledger refuses sats and names the shortfall in sats (§5.2), and the
|
||||
derived balance refuses kroner and names the shortfall in kroner. Skuld never invents coins or
|
||||
kroner. A buy that overdraws the kroner balance is not refused; it is shown as a negative balance.
|
||||
kroner. A `trade` buy is refused as well: buying with kroner the account does not hold is the same
|
||||
kind of mistake as selling coins it does not hold, and the remedy is to record where the kroner
|
||||
came from, that is a deposit from the bank.
|
||||
|
||||
## 4. Data model
|
||||
|
||||
|
||||
Reference in new issue
Block a user