From d68cf0b375ab55b6a163dc67d84686f3a52ee166 Mon Sep 17 00:00:00 2001 From: Konstantin Date: Mon, 26 Jun 2023 21:25:07 +0300 Subject: [PATCH] Fixed bug with game items transfer not working; (#100) --- CHANGELOG.md | 5 +++++ Runtime/Scripts/Beacon/BeaconConnectorDotNet.cs | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 332636ad..374919a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [unreleased] +### Fixed +- [Bug](https://github.com/trilitech/tezos-unity-sdk/issues/99) with game items transfer not working + + ## [1.5.0] - 2023-06-22 ### Fixed - [Bug](https://github.com/trilitech/tezos-unity-sdk/issues/68) with UnityBeacon gameobject diff --git a/Runtime/Scripts/Beacon/BeaconConnectorDotNet.cs b/Runtime/Scripts/Beacon/BeaconConnectorDotNet.cs index 5b8f1cfd..393d6d35 100644 --- a/Runtime/Scripts/Beacon/BeaconConnectorDotNet.cs +++ b/Runtime/Scripts/Beacon/BeaconConnectorDotNet.cs @@ -158,7 +158,7 @@ public async void RequestTezosOperation( new JObject { ["entrypoint"] = entryPoint, - ["value"] = JObject.Parse(arg) + ["value"] = JToken.Parse(arg) } );