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
1313    [ SerializeField ]  private  Text  Output ; 
1414
1515    [ SerializeField ]  private  Toggle  ConfirmToggle ; 
16-     [ SerializeField ]  private  Toggle  GetTrasactionReceiptToggle ; 
16+     [ SerializeField ]  private  Toggle  GetTransactionReceiptToggle ; 
1717    [ SerializeField ]  private  InputField  ToInputField ; 
1818    [ SerializeField ]  private  InputField  ValueInputField ; 
1919    [ SerializeField ]  private  InputField  DataInputField ; 
@@ -31,7 +31,7 @@ void Start()
3131            // Show get transaction receipt option if send transaction with confirmation toggle is off 
3232            ConfirmToggle . onValueChanged . AddListener ( delegate 
3333            { 
34-                 GetTrasactionReceiptToggle . gameObject . SetActive ( ! ConfirmToggle . isOn ) ; 
34+                 GetTransactionReceiptToggle . gameObject . SetActive ( ! ConfirmToggle . isOn ) ; 
3535            } ) ; 
3636        } 
3737        else 
@@ -73,7 +73,7 @@ public async void SendTransaction()
7373                string  transactionHash  =  await  Passport . ZkEvmSendTransaction ( request ) ; 
7474
7575                // Check if receipt is requested 
76-                 if  ( GetTrasactionReceiptToggle . isOn ) 
76+                 if  ( GetTransactionReceiptToggle . isOn ) 
7777                { 
7878                    // Poll for the receipt and display transaction status 
7979                    string ?  status  =  await  PollStatus ( transactionHash ) ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments