Skip to content

Commit

Permalink
fix(localchain): query returns vow shape
Browse files Browse the repository at this point in the history
  • Loading branch information
mhofman committed Jun 21, 2024
1 parent 225af1a commit bb012e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vats/src/localchain.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ export const prepareLocalChainAccountKit = (zone, { watch }) =>

export const LocalChainI = M.interface('LocalChain', {
makeAccount: M.callWhen().returns(M.remotable('LocalChainAccount')),
query: M.callWhen(M.record()).returns(M.record()),
query: M.callWhen(M.record()).returns(NetworkShape.Vow$(M.record())),
queryMany: M.callWhen(M.arrayOf(M.record())).returns(M.arrayOf(M.record())),
});

Expand Down

0 comments on commit bb012e6

Please sign in to comment.