Skip to content

Commit

Permalink
Balance fix for AO-CRED
Browse files Browse the repository at this point in the history
  • Loading branch information
michielpost committed Apr 18, 2024
1 parent 913220d commit 295fd15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/aoWebWallet/ViewModels/MainViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -749,15 +749,15 @@ public async Task CopyToClipboard(string? text)
new ArweaveBlazor.Models.Tag() { Name = "Wallet", Value = "aoww"},
};
var idResult = await arweaveService.SendAsync(jwk, processId, data, evalTags);
var idResult = await arweaveService.SendAsync(jwk, processId, null, data, evalTags);
return new Transaction { Id = idResult };
});

public Task<Transaction?> SendTokenWithJwk(string? jwk, string tokenId, string address, long amount)
=> LastTransactionId.DataLoader.LoadAsync(async () =>
{
var idResult = await arweaveService.SendAsync(jwk, tokenId, null, new List<ArweaveBlazor.Models.Tag>
var idResult = await arweaveService.SendAsync(jwk, tokenId, null, null, new List<ArweaveBlazor.Models.Tag>
{
new ArweaveBlazor.Models.Tag() { Name = "Action", Value = "Transfer"},
new ArweaveBlazor.Models.Tag() { Name = "Wallet", Value = "aoww"},
Expand Down Expand Up @@ -785,7 +785,7 @@ public async Task CopyToClipboard(string? text)
if (string.IsNullOrEmpty(ActiveArConnectAddress))
return null;
var idResult = await arweaveService.SendAsync(null, CLAIM_PROCESS_ID, null, new List<ArweaveBlazor.Models.Tag>
var idResult = await arweaveService.SendAsync(null, CLAIM_PROCESS_ID, null, null, new List<ArweaveBlazor.Models.Tag>
{
new ArweaveBlazor.Models.Tag() { Name = "Action", Value = "claim" + claim},
new ArweaveBlazor.Models.Tag() { Name = "Wallet", Value = "aoww"},
Expand Down
6 changes: 3 additions & 3 deletions src/aoWebWallet/aoWebWallet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="ArweaveAO" Version="0.0.1" />
<PackageReference Include="ArweaveBlazor" Version="0.0.4" />
<PackageReference Include="ArweaveAO" Version="0.0.2" />
<PackageReference Include="ArweaveBlazor" Version="0.0.5" />
<PackageReference Include="ClipLazor" Version="2.1.1" />
<PackageReference Include="MudBlazor" Version="6.19.1" />
<PackageReference Include="Blazored.LocalStorage" Version="4.5.0" />
<PackageReference Include="BlazorWasmPreRendering.Build" Version="3.1.0-preview.4" />
<PackageReference Include="BlazorWasmPreRendering.Build" Version="4.0.0" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="8.0.4" />
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="8.0.4" PrivateAssets="all" />
Expand Down

0 comments on commit 295fd15

Please sign in to comment.