ExchangeUnion / xud

Exchange Union Daemon 🔁 ⚡️
https://exchangeunion.com
GNU Affero General Public License v3.0
115 stars 49 forks source link

placeorder checks remote balance instead of local for quote currency #2021

Closed raladev closed 3 years ago

raladev commented 3 years ago

Precondition:

  1. User has local balance for BTC, but does not have remote.

Steps:

  1. sell 0.1 LTC/BTC 0.1 1

Actual result: Validation error Screenshot from 2020-12-04 18-37-40

Expected result: successfully placed order

Note: May be the result of https://github.com/ExchangeUnion/xud/pull/2006

sangaman commented 3 years ago

@raladev Can you show the output of lndbtc-lncli channelbalance or lndbtc-lncli listchannels ?

raladev commented 3 years ago

Closed, my mistake, i misused max buy instead of max sell. Checking works correctly.