mirror of
https://github.com/haveno-dex/haveno-ts.git
synced 2025-07-22 14:30:51 -04:00
rename scheduled state to pending (#300)
This commit is contained in:
parent
7192b899f4
commit
8a81a993fe
2 changed files with 17 additions and 17 deletions
|
@ -1173,13 +1173,13 @@ export default class HavenoClient {
|
|||
*
|
||||
* @param {string} tradeId - the id of the trade
|
||||
*/
|
||||
async completeTrade(tradeId: string): Promise<void> {
|
||||
try {
|
||||
await this._tradesClient.completeTrade(new CompleteTradeRequest().setTradeId(tradeId), {password: this._password});
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
async completeTrade(tradeId: string): Promise<void> {
|
||||
try {
|
||||
await this._tradesClient.completeTrade(new CompleteTradeRequest().setTradeId(tradeId), {password: this._password});
|
||||
} catch (e: any) {
|
||||
throw new HavenoError(e.message, e.code);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all chat messages for a trade.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue