Skip to content

Commit

Permalink
feat: missing commit
Browse files Browse the repository at this point in the history
  • Loading branch information
N3TC4T committed Aug 25, 2023
1 parent 03702f4 commit 773afa7
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion src/services/NetworkService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,18 @@ class NetworkService extends EventEmitter {
* @returns {string}
*/
getNativeAsset = (): string => {
return this.network.nativeAsset;
return this.network.nativeAsset.asset;
};

/**
* Get connected network native asset icons
* @returns {string}
*/
getNativeAssetIcons = (): { currency: string; asset: string } => {
return {
currency: this.network.nativeAsset.icon,
asset: this.network.nativeAsset.iconSquare,
};
};

/**
Expand Down

0 comments on commit 773afa7

Please sign in to comment.