Skip to content

Commit 0652c61

Browse files
committed
settings.getNetworkProperties() toJSON fix
1 parent b04aec6 commit 0652c61

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [0.5.4+3]
2+
20230620
3+
* settings.getNetworkProperties() toJSON fix.
4+
15
## [0.5.4+2]
26
20230620
37
* bump polkawallet/bridge 0.1.4-0

assets/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js_api/src/service/setting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export async function getNetworkProperties(api: ApiPromise) {
5959
const genesisHash = api.genesisHash.toHuman();
6060
return genesisHash == SubstrateNetworkKeys.POLKADOT
6161
? api.registry.createType("ChainProperties", {
62-
...chainProperties,
62+
...chainProperties.toJSON(),
6363
tokenDecimals: [10],
6464
tokenSymbol: ["DOT"],
6565
genesisHash,

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: polkawallet_sdk
22
description: Flutter SDK for building plugin package for polkawallet.
3-
version: 0.5.4+2
3+
version: 0.5.4+3
44
homepage: https://polkawallet.io
55

66
environment:

0 commit comments

Comments
 (0)