diff --git a/PlatformSampleGameServer.csproj b/PlatformSampleGameServer.csproj index 11592a7..4b78c4c 100644 --- a/PlatformSampleGameServer.csproj +++ b/PlatformSampleGameServer.csproj @@ -22,6 +22,6 @@ - + diff --git a/Services/EnjinService.cs b/Services/EnjinService.cs index 1aadc24..ca0b9b3 100644 --- a/Services/EnjinService.cs +++ b/Services/EnjinService.cs @@ -254,8 +254,6 @@ await WaitForFinalizationAsync( { var query = new QueryQueryBuilder().WithGetManagedWallet( new ManagedWalletQueryBuilder().WithPublicKey().WithExternalId(), - _network, - _chain, externalId: externalId ); @@ -357,7 +355,11 @@ CancellationToken ct var input = new TransactionInput { - TransferEnj = new TransferEnjInput { Recipient = recipientAddress, Amount = amount }, + TransferEnj = new TransferEnjInput + { + Recipient = recipientAddress, + Amount = amount.ToString(), + }, }; try @@ -400,8 +402,6 @@ CancellationToken ct // Step 1: locate the managed wallet's public key. var mwQuery = new QueryQueryBuilder().WithGetManagedWallet( new ManagedWalletQueryBuilder().WithPublicKey().WithExternalId(), - _network, - _chain, externalId: externalId ); @@ -625,7 +625,7 @@ CancellationToken ct ct.ThrowIfCancellationRequested(); var query = new QueryQueryBuilder().WithGetTransaction( - new TransactionQueryBuilder().WithUuid().WithState().WithExtrinsicHash(), + new TransactionQueryBuilder().WithUuid().WithState(), _network, _chain, uuid: uuid