Skip to content

Commit

Permalink
fixup! fixup! fixup! docs: closely held vs widely held
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Oct 24, 2024
1 parent b339e58 commit 0b8ba7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions main/guides/js-programming/hardened-js.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ const makeCounter = init => {
incr: () => {
value += 1;
return value;
},
}
};
};
```
Expand Down Expand Up @@ -404,7 +404,7 @@ const makeMint = () => {
const ledger = makeWeakMap();

const issuer = harden({
makeEmptyPurse: () => mint.makePurse(0),
makeEmptyPurse: () => mint.makePurse(0)
});

const mint = harden({
Expand All @@ -422,11 +422,11 @@ const makeMint = () => {
const newPurse = issuer.makeEmptyPurse();
newPurse.deposit(amount, purse);
return newPurse;
},
}
});
ledger.set(purse, initialBalance);
return purse;
},
}
});

return mint;
Expand Down

0 comments on commit 0b8ba7d

Please sign in to comment.