Skip to content

Commit 11a15d5

Browse files
committed
Update README.md
1 parent e35d841 commit 11a15d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ import { makeAgoricWalletConnection } from '@agoric/web-components';
6666

6767
const watcher = makeAgoricChainStorageWatcher(rpc, chainName);
6868
const connection = await makeAgoricWalletConnection(watcher);
69-
const [pursesNotifier, publicSubscribersNotifier] = chainConnection;
69+
const {pursesNotifier, publicSubscribersNotifier} = chainConnection;
7070

7171
for await (const purses of subscribeLatest(pursesNotifier)) {
7272
console.log('Got purses:', purses);

0 commit comments

Comments
 (0)