Support transaction signing by heterogenous lists of keypairs (#8342)

automerge
This commit is contained in:
Greg Fitzgerald
2020-02-20 13:13:23 -07:00
committed by GitHub
parent 1720fe6a46
commit e8124324ff
16 changed files with 196 additions and 81 deletions

View File

@ -61,7 +61,7 @@ fn fill_epoch_with_votes(
Some(&mint_pubkey),
);
assert!(bank_client
.send_message(&[&mint_keypair, &vote_keypair], message)
.send_message(&[mint_keypair, vote_keypair], message)
.is_ok());
}
bank

View File

@ -371,7 +371,7 @@ fn submit_proof(
);
assert_matches!(
bank_client.send_message(&[&mint_keypair, &storage_keypair], message),
bank_client.send_message(&[mint_keypair, storage_keypair], message),
Ok(_)
);
ProofStatus::Valid