RpcClient now returns Signatures instead of Strings (#9129)

This commit is contained in:
Michael Vines
2020-03-27 15:46:00 -07:00
committed by GitHub
parent 74aed5cb58
commit 4a8b1d9b2c
5 changed files with 44 additions and 51 deletions

View File

@ -58,7 +58,7 @@ fn test_rpc_client() {
let now = Instant::now();
while now.elapsed().as_secs() <= 20 {
let response = client
.confirm_transaction_with_commitment(signature.as_str(), CommitmentConfig::default())
.confirm_transaction_with_commitment(&signature, CommitmentConfig::default())
.unwrap();
if response.value {