Skip to content

Commit 9a50cdf

Browse files
YermekGnattb8
andauthored
Update sample/Assets/Scripts/AuthenticatedScript.cs
Co-authored-by: Natalie <[email protected]>
1 parent 636d417 commit 9a50cdf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sample/Assets/Scripts/AuthenticatedScript.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,8 @@ public async void GetZkTransactionReceiptStatus()
412412
{
413413
ShowOutput($"Getting zkEVM transaction receipt...");
414414
TransactionReceiptResponse response = await passport.ZkEvmGetTransactionReceipt(ZkGetTransactionReceiptHash.text);
415-
ShowOutput($"Transaction receipt status: {response.status}");
415+
ShowOutput($"Transaction receipt status: {(response.status == "0x1" ? "Success" : "Failed")}");
416+
416417
}
417418
catch (Exception ex)
418419
{

0 commit comments

Comments
 (0)