From 66e572f2a87df12d912504ae1df598b7ea9be29c Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Sat, 27 Oct 2018 19:48:37 -0700 Subject: [PATCH] fix(flow): correct removeAccountChangeListener prototype --- web3.js/module.flow.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3.js/module.flow.js b/web3.js/module.flow.js index 1b3f1df670..b0f76bf152 100644 --- a/web3.js/module.flow.js +++ b/web3.js/module.flow.js @@ -61,7 +61,7 @@ declare module '@solana/web3.js' { requestAirdrop(to: PublicKey, amount: number): Promise; sendTransaction(from: Account, transaction: Transaction): Promise; onAccountChange(publickey: PublicKey, callback: AccountChangeCallback): Promise; - removeAccountListener(id: number): Promise; + removeAccountChangeListener(id: number): Promise; } // === src/system-program.js ===