Skip to content

Commit

Permalink
refactor(vats): privateArgsShape
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Sep 11, 2022
1 parent 8f32191 commit 19288e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vats/src/provisionPool.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {

const { details: X, quote: q } = assert;

const privateShape = harden({
const privateArgsShape = harden({
poolBank: M.eref(M.remotable('bank')),
});

Expand Down Expand Up @@ -82,7 +82,7 @@ const makeBridgeProvisionTool = sendInitialPayment => {
export const start = (zcf, privateArgs) => {
// TODO: make initial amount governed
const { perAccountInitialAmount } = zcf.getTerms();
fit(privateArgs, privateShape, 'provisionPool privateArgs');
fit(privateArgs, privateArgsShape, 'provisionPool privateArgs');
const { poolBank } = privateArgs;
fit(perAccountInitialAmount, AmountShape, 'perAccountInitialAmount');
const { brand: poolBrand } = perAccountInitialAmount;
Expand Down

0 comments on commit 19288e3

Please sign in to comment.