[bisq-network/bisq] Transferwise Payment Accounts are created without any Trade Currencies when using bisq-cli (#5281)

jimmyneutront notifications at github.com
Sat Mar 6 19:27:59 CET 2021


<!--
   SUPPORT REQUESTS: This is for reporting bugs in the Bisq app.
   If you have a support request, please join #support on Bisq's
   Keybase team at https://keybase.io/team/Bisq
-->

### Description

<!-- brief description of the bug -->
When a Transferwise payment account is created using bisq-cli, it is not assigned any trade currencies. Because of this, any offers created using Transferwise as a payment method will not be visible to any takers.

#### Version

<!-- commit id or version number -->
Bisq daemon version 1.5.9 (Linux)
OpenJDK version 11.0.9.1 2020-11-04
### Steps to reproduce

<!--if you can reliably reproduce the bug, list the steps here  -->
1. Let Alice create a new Transferwise payment account using the 'createpaymentacct' command, which produces the following output: (Note that the 'Currency' field is blank!)
payment account saved
Name                                Currency    Payment Method    ID
Tw: alice at example.com                     TRANSFERWISE     [alice's tw id here]

2. Let Bob create a new Transferwise payment account using the 'createpaymentacct' command, which produces the following output:
payment account saved
Name                                Currency    Payment Method    ID
Tw: bob at example.com                      TRANSFERWISE     [bob's tw id here]

3. Alice creates an offer to buy BTC with CHF using the 'createoffer' command and her Transferwise payment account ID.

4. Alice uses the 'getmyoffers' command to view her CHF offers in the BUY direction, and sees the Transferwise offer that she just created.
### Expected behaviour

<!--description of the expected behavior -->
5. [Expected] Bob should be able to use the 'getoffers' command to view CHF offers in the BUY direction and see Alice's offer as a result.

### Actual behaviour

<!-- explain what happened instead of the expected behaviour -->
5. [Reality] Bob uses the 'getoffers' command to view CHF offers in the BUY direction and sees nothing but the message "no BUY CHF offers found"

#### Additional info

<!-- Additional information useful for debugging (e.g. logs) -->
This problem is related to commit #4944 which causes Transferwise payment accounts to be created with no trade currencies by default. Usually, trade currencies are added via checkboxes in the Bisq app, but there is currently no way to add currencies using the API.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/5281
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210306/39f70bf0/attachment.htm>


More information about the bisq-github mailing list