Remove ThinClient::transfer()

This commit is contained in:
Michael Vines
2019-03-16 13:36:47 -07:00
parent 9566a5cc68
commit 4c9d852b08
3 changed files with 37 additions and 46 deletions

View File

@ -120,8 +120,11 @@ pub fn send_barrier_transaction(
}
*blockhash = barrier_client.get_recent_blockhash();
let transaction =
SystemTransaction::new_account(&source_keypair, dest_id, 0, *blockhash, 0);
let signature = barrier_client
.transfer(0, &source_keypair, dest_id, blockhash)
.transfer_signed(&transaction)
.expect("Unable to send barrier transaction");
let confirmatiom = barrier_client.poll_for_signature(&signature);