Skip to content

Commit

Permalink
fix(zoe): add Far to periodObserver
Browse files Browse the repository at this point in the history
refs #2018
  • Loading branch information
warner committed Mar 4, 2021
1 parent d4fa4f1 commit ae71d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zoe/src/contracts/loan/updateDebt.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae71d19

Please sign in to comment.