fix await
This commit is contained in:
parent
b13a5b58a5
commit
746e38b120
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ export class LiquidityManager {
|
||||||
if (remote > amount) {
|
if (remote > amount) {
|
||||||
return 'lnd'
|
return 'lnd'
|
||||||
}
|
}
|
||||||
const providerCanHandle = this.liquidityProvider.CanProviderHandle({ action: 'receive', amount })
|
const providerCanHandle = await this.liquidityProvider.CanProviderHandle({ action: 'receive', amount })
|
||||||
if (!providerCanHandle) {
|
if (!providerCanHandle) {
|
||||||
return 'lnd'
|
return 'lnd'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue