Require a destination and say the bank is a side

This commit is contained in:
ai-bot committed 2026-11-16 19:03:20 +00:00
1 parent b404cb6475
commit a0141fd3c0
1 file changed
+3 -3
+3 -3
View File
@@ -708,9 +708,9 @@ For `admin_cost`, the amount is sent as `leg_out_ore`, `market_id` must be absen
`lot_picks` are rejected, and a fee is rejected; the server stores the bank of §3.11 and the `lot_picks` are rejected, and a fee is rejected; the server stores the bank of §3.11 and the
matching `leg_in_ore` itself. matching `leg_in_ore` itself.
For a `transfer_out`, exactly one of `leg_out_sats` and `leg_out_ore` is sent. `to_market_id` is For a `transfer_out`, exactly one of `leg_out_sats` and `leg_out_ore` is sent, and `to_market_id`
required when the amount is in sats; it may be absent when the amount is in kroner, which is a is always required. With sats both sides are real accounts; with kroner the bank of §3.11 is
withdrawal, and then no `transfer_in` is generated. either the `market_id` or the `to_market_id`.
Every transaction object carries `btc_price_ore`: the price of §7.3 in øre per whole BTC, or Every transaction object carries `btc_price_ore`: the price of §7.3 in øre per whole BTC, or
null when the type has no price. For a `transfer_out` it is worked out from the consumed lots null when the type has no price. For a `transfer_out` it is worked out from the consumed lots