@gearbox-protocol/sdk 13.0.0-next.27 → 13.0.0-next.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -624,7 +624,7 @@ class AbstractCreditAccountService extends import_base.SDKConstruct {
|
|
|
624
624
|
],
|
|
625
625
|
{}
|
|
626
626
|
) : [];
|
|
627
|
-
const unwrapCalls = collateral && isDecrease ? await this.
|
|
627
|
+
const unwrapCalls = collateral && isDecrease ? await this.getKYCWrapCalls(
|
|
628
628
|
collateral[0].balance,
|
|
629
629
|
creditAccount.creditManager
|
|
630
630
|
) || [] : [];
|
|
@@ -614,7 +614,7 @@ class AbstractCreditAccountService extends SDKConstruct {
|
|
|
614
614
|
],
|
|
615
615
|
{}
|
|
616
616
|
) : [];
|
|
617
|
-
const unwrapCalls = collateral && isDecrease ? await this.
|
|
617
|
+
const unwrapCalls = collateral && isDecrease ? await this.getKYCWrapCalls(
|
|
618
618
|
collateral[0].balance,
|
|
619
619
|
creditAccount.creditManager
|
|
620
620
|
) || [] : [];
|