mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Merge branch '5-api-bsqswap-simulation-n-docs-update' into 6-api-xmr-trading
This commit is contained in:
commit
0f32fe2fc3
@ -379,6 +379,7 @@ $ ./bisq-cli --password=xyz --port=9998 createoffer \
|
||||
--swap=true \
|
||||
--direction=BUY \
|
||||
--amount=0.5 \
|
||||
--currency-code=BSQ \
|
||||
--fixed-price=0.00005
|
||||
```
|
||||
|
||||
|
@ -378,7 +378,8 @@ public class CliMain {
|
||||
var offerId = offerIdOpt.getOfferId();
|
||||
var offerCategory = client.getMyOfferCategory(offerId);
|
||||
if (offerCategory.equals(BSQ_SWAP))
|
||||
throw new IllegalStateException("cannot edit swap bsq offers");
|
||||
throw new IllegalStateException("bsq swap offers cannot be edited,"
|
||||
+ " but you may cancel them without forfeiting any funds");
|
||||
|
||||
var opts = new EditOfferOptionParser(args).parse();
|
||||
var fixedPrice = opts.getFixedPrice();
|
||||
|
Loading…
Reference in New Issue
Block a user