diff --git a/packages/web-components/src/wallet-connection/watchWallet.js b/packages/web-components/src/wallet-connection/watchWallet.js index 2f8fea3..abc957e 100644 --- a/packages/web-components/src/wallet-connection/watchWallet.js +++ b/packages/web-components/src/wallet-connection/watchWallet.js @@ -4,7 +4,6 @@ import { AmountMath } from '@agoric/ertp'; import { iterateEach, makeFollower, makeLeader } from '@agoric/casting'; import { Tendermint34Client } from '@cosmjs/tendermint-rpc'; import { AgoricChainStoragePathKind } from '@agoric/rpc'; -import { Far } from '@endo/marshal'; import { queryBankBalances } from './queryBankBalances.js'; /** @typedef {import("@agoric/rpc").ChainStorageWatcher} ChainStorageWatcher */ @@ -255,7 +254,9 @@ export const watchWallet = ( const leader = makeLeader(rpc); const follower = makeFollower(`:published.wallet.${address}`, leader, { proof: 'none', - unserializer: Far('marshaller', chainStorageWatcher.marshaller), + // @ts-expect-error Errors with "Remotable ... is already frozen" when + // wrapping in "Far". + unserializer: chainStorageWatcher.marshaller, }); for await (const update of iterateEach(follower)) {