pub async fn verify(
        request: &VerifyTxSignatureRequest,
        eth_watch_req: mpsc::Sender<EthWatchRequest>,
    ) -> Result<Self, TxAddError> {
        verify_eth_signature(&request, eth_watch_req)
            .await
            .and_then(|_| verify_tx_correctness(request.tx.clone()))
            .map(|tx| {
                Self(SignedFranklinTx {
                    tx,
                    eth_sign_data: request.eth_sign_data.clone(),
                })
            })
    }
/// Checks the transaction correctness by verifying its
/// Ethereum signature (if required) and `ZKSync` signature.
Checks the transaction correctness by verifying its
Ethereum signature (if required) and `ZKSync` signature.
Checks the transaction correctness by verifying its Ethereum signature ( if required ) and ` ZKSync ` signature .
pub async fn verify(
        request: &VerifyTxSignatureRequest,
        eth_watch_req: mpsc::Sender<EthWatchRequest>,
    ) -> Result<Self, TxAddError> {
        verify_eth_signature(&request, eth_watch_req)
            .await
            .and_then(|_| verify_tx_correctness(request.tx.clone()))
            .map(|tx| {
                Self(SignedFranklinTx {
                    tx,
                    eth_sign_data: request.eth_sign_data.clone(),
                })
            })
    }
pub async fn verify ( request : & VerifyTxSignatureRequest , eth_watch_req : mpsc :: Sender < EthWatchRequest > , ) -> Result < Self , TxAddError > { verify_eth_signature ( & request , eth_watch_req ) . await . and_then ( | _ | verify_tx_correctness ( request . tx . clone ( ) ) ) . map ( | tx | { Self ( SignedFranklinTx { tx , eth_sign_data : request . eth_sign_data . clone ( ) , } ) } ) }
Checks the transaction correctness by verifying its
Ethereum signature (if required) and `ZKSync` signature.
Checks the transaction correctness by verifying its Ethereum signature ( if required ) and ` ZKSync ` signature .
request
&VerifyTxSignatureRequest
eth_watch_req
mpsc::Sender<EthWatchRequest>