Skip to content

Commit

Permalink
chore(fixHub): validate early
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Mar 11, 2024
1 parent 81d7bd9 commit 5c5edf1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contract/src/fixHub.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const { Fail } = assert;
* @param {ERef<import('@agoric/vats').NameAdmin>} namesByAddressAdmin
*/
export const fixHub = async namesByAddressAdmin => {
assert(namesByAddressAdmin, 'no namesByAddressAdmin???');
/** @type {import('@agoric/vats').NameHub} */
const hub = Far('Hub work-around', {
lookup: async (addr, ...rest) => {
Expand Down

0 comments on commit 5c5edf1

Please sign in to comment.