Skip to content

Commit db22e54

Browse files
authored
Merge pull request #6 from phantasma-io/dev
Fix to the Login issue.
2 parents 8c302f8 + 3cbce00 commit db22e54

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

Diff for: CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
[v.1.0.10]
22

3-
- Updating the packge version.
3+
- Updating the package version.
4+
- Fix issue when connecting to the wallet. (minor)
5+
6+
[v.1.0.10]
7+
8+
- Updating the package version.
49
- Fix issue when connecting to the wallet.
510

611
[v.1.0.9]

Diff for: Runtime/Phantasma/Scripts/PhantasmaLinkClient.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ private void FetchAccount(Action<bool, string> callback)
177177
{
178178
var symbol = child.GetString("symbol");
179179
var value = child.GetString("value");
180+
var amount = BigInteger.Parse(value);
180181
var decimals = child.GetInt32("decimals");
181182
var ids_node = child.GetNode("ids");
182183
string[] ids_array = new string[0];
@@ -189,9 +190,8 @@ private void FetchAccount(Action<bool, string> callback)
189190
}
190191
}
191192

192-
var amount = BigInteger.Parse(value);
193193
_balanceMap[symbol] = new Balance(symbol, amount, decimals, ids_array);
194-
if ( ids_node.ChildCount > 0)
194+
if ( ids_array.Length > 0)
195195
_ownershipMap[symbol] = new Balance(symbol, amount, decimals, ids_array);
196196
}
197197
}

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.phantasma.phantasmalinkclient",
3-
"version": "1.0.10",
3+
"version": "1.0.11",
44
"displayName": "Phantasma Unity SDK",
55
"description": "Phantasma Unity SDK, use to connect to the Phantasma Blockchain",
66
"unity": "2020.3",

0 commit comments

Comments
 (0)