Skip to content

Commit

Permalink
fix: network disconnect after init (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayJay1024 authored Mar 14, 2022
1 parent e89251d commit 31ba133
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/network/entrance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ class PolkadotEntrance extends Entrance<ApiPromise> {
});
}

afterInit(instance: ApiPromise) {
instance.connect();
afterInit() {
// nothing to do
}

beforeRemove(instance: ApiPromise) {
Expand Down

0 comments on commit 31ba133

Please sign in to comment.