From 9a50cdf7e32f46113c50dc1bfc36ee92d03712a5 Mon Sep 17 00:00:00 2001 From: Yermek Garifullanov <150758974+YermekG@users.noreply.github.com> Date: Tue, 7 May 2024 09:50:56 +1200 Subject: [PATCH] Update sample/Assets/Scripts/AuthenticatedScript.cs Co-authored-by: Natalie --- sample/Assets/Scripts/AuthenticatedScript.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sample/Assets/Scripts/AuthenticatedScript.cs b/sample/Assets/Scripts/AuthenticatedScript.cs index a6407a16..6f3f5431 100644 --- a/sample/Assets/Scripts/AuthenticatedScript.cs +++ b/sample/Assets/Scripts/AuthenticatedScript.cs @@ -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) {