mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-07-22 14:30:51 -04:00
always adjust offer amount
This commit is contained in:
parent
a33c7fd830
commit
f6268c4d9f
2 changed files with 10 additions and 14 deletions
|
@ -808,7 +808,7 @@ export default class HavenoClient {
|
|||
try {
|
||||
return (await this._priceClient.getMarketPrice(new MarketPriceRequest().setCurrencyCode(assetCode), {password: this._password})).getPrice();
|
||||
} catch (e: any) {
|
||||
if (e.message.indexOf("not found") >= 0) return undefined;
|
||||
if (e.message.indexOf("not found") >= 0) return undefined; // TODO: return unknown price server side (0?)
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue