Skip to content

Commit

Permalink
fix some issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Dapiguabc committed Nov 26, 2021
1 parent 01c2864 commit 0c0937e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions dist/cjs/lamden.js
Original file line number Diff line number Diff line change
Expand Up @@ -8013,8 +8013,7 @@ class Network {
get url() {
return this.host;
}
async getNetworkInfo() {
await this.ping();
getNetworkInfo() {
return {
name: this.name,
lamden: this.lamden,
Expand Down
2 changes: 1 addition & 1 deletion dist/esm/lamden.js

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions src/js/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ export class Network {
get url() {
return this.host;
}
async getNetworkInfo() {
await this.ping();
getNetworkInfo() {
return {
name: this.name,
lamden: this.lamden,
Expand Down

0 comments on commit 0c0937e

Please sign in to comment.