fn send_tx_sync(&self, addr: &str, slate: &Slate) -> Result<Slate, Error> {
		// Send original slate to recipient with the SLATE_NEW topic
		match send(slate, addr, SLATE_NEW, TTL) {
			true => (),
			false => return Err(ErrorKind::ClientCallback("Posting transaction slate"))?,
		}
		println!("Sent new slate to {}", addr);
		// Wait for response from recipient with SLATE_SIGNED topic
		match poll(TTL as u64, addr) {
			Some(slate) => return Ok(slate),
			None => return Err(ErrorKind::ClientCallback("Receiving reply from recipient"))?,
		}
	}
// Send a slate to a keybase username then wait for a response for TTL seconds.
Send a slate to a keybase username then wait for a response for TTL seconds.
Send a slate to a keybase username then wait for a response for TTL seconds .
fn send_tx_sync(&self, addr: &str, slate: &Slate) -> Result<Slate, Error> {
		// Send original slate to recipient with the SLATE_NEW topic
		match send(slate, addr, SLATE_NEW, TTL) {
			true => (),
			false => return Err(ErrorKind::ClientCallback("Posting transaction slate"))?,
		}
		println!("Sent new slate to {}", addr);
		// Wait for response from recipient with SLATE_SIGNED topic
		match poll(TTL as u64, addr) {
			Some(slate) => return Ok(slate),
			None => return Err(ErrorKind::ClientCallback("Receiving reply from recipient"))?,
		}
	}
fn send_tx_sync ( & self , addr : & str , slate : & Slate ) -> Result < Slate , Error > { // Send original slate to recipient with the SLATE_NEW topic match send ( slate , addr , SLATE_NEW , TTL ) { true => ( ) , false => return Err ( ErrorKind :: ClientCallback ( " " ) ) ? , } println ! ( " " addr ) ; // Wait for response from recipient with SLATE_SIGNED topic match poll ( TTL as u64 , addr ) { Some ( slate ) => return Ok ( slate ) , None => return Err ( ErrorKind :: ClientCallback ( " " ) ) ? , } }
Send a slate to a keybase username then wait for a response for TTL seconds.
Send a slate to a keybase username then wait for a response for TTL seconds .
&self
addr
&str
slate
&Slate