Skip to content

Commit

Permalink
Fix plugin cache
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Apr 9, 2024
1 parent 602f583 commit c323546
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,9 @@ export class Web3AdminPlugin extends Web3PluginBase {
return this.requestManager.send({method: "admin_addPeer", params: [enode]});
}
}

declare module "web3" {
interface Web3Context {
admin: Web3AdminPlugin;
}
}

0 comments on commit c323546

Please sign in to comment.