Skip to content

Commit

Permalink
settings.getNetworkProperties() toJSON fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RomeroYang committed Jun 20, 2023
1 parent b04aec6 commit 0652c61
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [0.5.4+3]
20230620
* settings.getNetworkProperties() toJSON fix.

## [0.5.4+2]
20230620
* bump polkawallet/bridge 0.1.4-0
Expand Down
2 changes: 1 addition & 1 deletion assets/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js_api/src/service/setting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export async function getNetworkProperties(api: ApiPromise) {
const genesisHash = api.genesisHash.toHuman();
return genesisHash == SubstrateNetworkKeys.POLKADOT
? api.registry.createType("ChainProperties", {
...chainProperties,
...chainProperties.toJSON(),
tokenDecimals: [10],
tokenSymbol: ["DOT"],
genesisHash,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: polkawallet_sdk
description: Flutter SDK for building plugin package for polkawallet.
version: 0.5.4+2
version: 0.5.4+3
homepage: https://polkawallet.io

environment:
Expand Down

0 comments on commit 0652c61

Please sign in to comment.