From b50117f0e300311fff24e13d66de0c92003e8ae7 Mon Sep 17 00:00:00 2001 From: Michael FIG Date: Sun, 28 Mar 2021 22:12:53 -0600 Subject: [PATCH] fix(loan): fix reallocate error in liquidation error recovery --- packages/zoe/src/contracts/loan/scheduleLiquidation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zoe/src/contracts/loan/scheduleLiquidation.js b/packages/zoe/src/contracts/loan/scheduleLiquidation.js index d076ecd8346..51ef120fa11 100644 --- a/packages/zoe/src/contracts/loan/scheduleLiquidation.js +++ b/packages/zoe/src/contracts/loan/scheduleLiquidation.js @@ -57,7 +57,7 @@ export const scheduleLiquidation = (zcf, configWithBorrower) => { // contract, kicking out any remaining seats. zcf.reallocate( lenderSeat.stage({ Collateral: allCollateral }), - lenderSeat.stage({}), + collateralSeat.stage({}), ); zcf.shutdownWithFailure(err); throw err;