From 6eaae7e2291431dbdacdb48fef2ccf58a1238044 Mon Sep 17 00:00:00 2001 From: narasimha-1511 Date: Sun, 21 Apr 2024 10:45:26 +0530 Subject: [PATCH] fixed doc --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 159fcc5..bd51c5b 100644 --- a/README.md +++ b/README.md @@ -21,15 +21,15 @@ wallet.subscribe('addressReady', ({ address, state }) => { wallet.subscribe('txEvent', ({event, address, tx}) => { switch (event) { - 'added': { + case 'added': { // discovered a new transaction related to this address } break; - 'confirmed': { + case 'confirmed': { // a transaction related to this address was included in a block } break; - 'removed': { + case 'removed': { // a transaction related to this address was dropped from the mempool } break; }