add missing allowedExchanges for calculating getFeeForDeposit
This commit is contained in:
parent
dc842eab6b
commit
b4e219f7ff
@ -337,7 +337,10 @@ export async function getFeeForDeposit(
|
|||||||
|
|
||||||
const csr: CoinSelectionRequest = {
|
const csr: CoinSelectionRequest = {
|
||||||
allowedAuditors: [],
|
allowedAuditors: [],
|
||||||
allowedExchanges: [],
|
allowedExchanges: Object.values(exchangeInfos).map(v => ({
|
||||||
|
exchangeBaseUrl: v.url,
|
||||||
|
exchangePub: v.master_pub
|
||||||
|
})),
|
||||||
amount: Amounts.parseOrThrow(req.amount),
|
amount: Amounts.parseOrThrow(req.amount),
|
||||||
maxDepositFee: Amounts.parseOrThrow(req.amount),
|
maxDepositFee: Amounts.parseOrThrow(req.amount),
|
||||||
maxWireFee: Amounts.parseOrThrow(req.amount),
|
maxWireFee: Amounts.parseOrThrow(req.amount),
|
||||||
|
Loading…
Reference in New Issue
Block a user