File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Packages/Passport/Samples~/SamplesScenesScripts/Scripts/Passport/ZkEvm Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public class ZkEvmSendTransactionScript : MonoBehaviour
13
13
[ SerializeField ] private Text Output ;
14
14
15
15
[ SerializeField ] private Toggle ConfirmToggle ;
16
- [ SerializeField ] private Toggle GetTrasactionReceiptToggle ;
16
+ [ SerializeField ] private Toggle GetTransactionReceiptToggle ;
17
17
[ SerializeField ] private InputField ToInputField ;
18
18
[ SerializeField ] private InputField ValueInputField ;
19
19
[ SerializeField ] private InputField DataInputField ;
@@ -31,7 +31,7 @@ void Start()
31
31
// Show get transaction receipt option if send transaction with confirmation toggle is off
32
32
ConfirmToggle . onValueChanged . AddListener ( delegate
33
33
{
34
- GetTrasactionReceiptToggle . gameObject . SetActive ( ! ConfirmToggle . isOn ) ;
34
+ GetTransactionReceiptToggle . gameObject . SetActive ( ! ConfirmToggle . isOn ) ;
35
35
} ) ;
36
36
}
37
37
else
@@ -73,7 +73,7 @@ public async void SendTransaction()
73
73
string transactionHash = await Passport . ZkEvmSendTransaction ( request ) ;
74
74
75
75
// Check if receipt is requested
76
- if ( GetTrasactionReceiptToggle . isOn )
76
+ if ( GetTransactionReceiptToggle . isOn )
77
77
{
78
78
// Poll for the receipt and display transaction status
79
79
string ? status = await PollStatus ( transactionHash ) ;
You can’t perform that action at this time.
0 commit comments