Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(rpc): runtime addcurrency for lnd & connext #1746

Merged
merged 13 commits into from
Nov 5, 2020
Prev Previous commit
Next Next commit
Fix: remove currency to not remove the active swap client
Le Premier Homme committed Oct 19, 2020

Unverified

No user is associated with the committer email.
commit 07922b7b63e78ad7354b5b260dba856836037ea3
1 change: 0 additions & 1 deletion lib/orderbook/OrderBook.ts
Original file line number Diff line number Diff line change
@@ -349,7 +349,6 @@ class OrderBook extends EventEmitter {
}
}
this.currencyInstances.delete(currencyId);
this.swaps.swapClientManager.remove(currencyId);
await currency.destroy();
} else {
throw errors.CURRENCY_DOES_NOT_EXIST(currencyId);