From ae71d19f18e1901eae97caaa67ea63eb75f21d84 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 4 Mar 2021 09:40:22 -0800 Subject: [PATCH] fix(zoe): add Far to periodObserver refs #2018 --- packages/zoe/src/contracts/loan/updateDebt.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zoe/src/contracts/loan/updateDebt.js b/packages/zoe/src/contracts/loan/updateDebt.js index aae1d9b5f11..17c5b209823 100644 --- a/packages/zoe/src/contracts/loan/updateDebt.js +++ b/packages/zoe/src/contracts/loan/updateDebt.js @@ -48,7 +48,7 @@ export const makeDebtCalculator = debtCalculatorConfig => { const config = { ...configMinusGetDebt, getDebt }; - const periodObserver = harden({ + const periodObserver = Far('periodObserver', { updateState: timestamp => { let updatedLoan = false; // we could calculate the number of required updates and multiply by a power