pub async fn broadcast_sync(
        &self,
        std_sign_msg: &'a StdSignMsg<'a>,
        sigs: &[StdSignature],
    ) -> anyhow::Result<TXResultSync> {
        let std_tx: StdTx = StdTx::from_StdSignMsg(std_sign_msg, sigs, "sync");
        //    let js_sig = serde_json::to_string(&std_tx)?;
        log::info!("TX broadcast #messages ={}", &std_tx.tx.msg.len());
        if self.terra.debug {
            log::debug!("{}", serde_json::to_string(&std_tx)?);
        }
        let response = self
            .terra
            .post_cmd::<StdTx, TXResultSync>("/txs", &std_tx)
            .await?;
        Ok(response)
    }
/// perform a sync submission to the blockchain. This will return more validation logic than async
/// but you wait. It is still not guaranteed to create a blockchain transaction
perform a sync submission to the blockchain. This will return more validation logic than async
but you wait. It is still not guaranteed to create a blockchain transaction
perform a sync submission to the blockchain . This will return more validation logic than async but you wait . It is still not guaranteed to create a blockchain transaction
pub async fn broadcast_sync(
        &self,
        std_sign_msg: &'a StdSignMsg<'a>,
        sigs: &[StdSignature],
    ) -> anyhow::Result<TXResultSync> {
        let std_tx: StdTx = StdTx::from_StdSignMsg(std_sign_msg, sigs, "sync");
        //    let js_sig = serde_json::to_string(&std_tx)?;
        log::info!("TX broadcast #messages ={}", &std_tx.tx.msg.len());
        if self.terra.debug {
            log::debug!("{}", serde_json::to_string(&std_tx)?);
        }
        let response = self
            .terra
            .post_cmd::<StdTx, TXResultSync>("/txs", &std_tx)
            .await?;
        Ok(response)
    }
pub async fn broadcast_sync ( & self , std_sign_msg : & ' a StdSignMsg < ' a > , sigs : & [ StdSignature ] , ) -> anyhow :: Result < TXResultSync > { let std_tx : StdTx = StdTx :: from_StdSignMsg ( std_sign_msg , sigs , " " ) ; //    let js_sig = serde_json::to_string(&std_tx)?; log :: info ! ( " " std_tx tx msg len ( ) ) ; if self . terra . debug { log :: debug ! ( " " serde_json to_string ( std_tx ) ) ; } let response = self . terra . post_cmd :: < StdTx , TXResultSync > ( " " , & std_tx ) . await ? ; Ok ( response ) }
perform a sync submission to the blockchain.
perform a sync submission to the blockchain .
&self
std_sign_msg
&'a StdSignMsg<'a>
sigs
&[StdSignature]