Skip to content

Commit

Permalink
fix: avoid marshaller error in watchWallet
Browse files Browse the repository at this point in the history
  • Loading branch information
samsiegart committed Mar 6, 2024
1 parent a01a6e0 commit faaefbf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/web-components/src/wallet-connection/watchWallet.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,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)) {
Expand Down

0 comments on commit faaefbf

Please sign in to comment.