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 ===