Use signer for signing transactions, not constructing them

This commit is contained in:
Greg Fitzgerald
2019-01-29 17:16:59 -07:00
parent c741a960b9
commit 85e7046caf
7 changed files with 26 additions and 58 deletions

View File

@ -370,7 +370,7 @@ pub fn fund_keys(client: &mut ThinClient, source: &Keypair, dests: &[Keypair], t
// re-sign retained to_fund_txes with updated last_id
to_fund_txs.par_iter_mut().for_each(|(k, tx)| {
tx.sign(&[k], last_id);
tx.sign(&[*k], last_id);
});
to_fund_txs.iter().for_each(|(_, tx)| {