Skip to content

Commit

Permalink
Update sample/Assets/Scripts/AuthenticatedScript.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Natalie <[email protected]>
  • Loading branch information
YermekG and nattb8 authored May 6, 2024
1 parent 636d417 commit 9a50cdf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sample/Assets/Scripts/AuthenticatedScript.cs
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,8 @@ public async void GetZkTransactionReceiptStatus()
{
ShowOutput($"Getting zkEVM transaction receipt...");
TransactionReceiptResponse response = await passport.ZkEvmGetTransactionReceipt(ZkGetTransactionReceiptHash.text);
ShowOutput($"Transaction receipt status: {response.status}");
ShowOutput($"Transaction receipt status: {(response.status == "0x1" ? "Success" : "Failed")}");

}
catch (Exception ex)
{
Expand Down

0 comments on commit 9a50cdf

Please sign in to comment.