Fix build

Two PRs crossed in flight.
This commit is contained in:
Greg Fitzgerald
2018-09-26 14:40:46 -06:00
parent e6f8922e35
commit ca962371b8

View File

@ -357,14 +357,14 @@ mod tests {
// good tx // good tx
let keypair = mint.keypair(); let keypair = mint.keypair();
let tx = Transaction::new(&keypair, keypair.pubkey(), 1, start_hash); let tx = Transaction::system_new(&keypair, keypair.pubkey(), 1, start_hash);
// good tx, but no verify // good tx, but no verify
let tx_no_ver = Transaction::new(&keypair, keypair.pubkey(), 1, start_hash); let tx_no_ver = Transaction::system_new(&keypair, keypair.pubkey(), 1, start_hash);
// bad tx, AccountNotFound // bad tx, AccountNotFound
let keypair = Keypair::new(); let keypair = Keypair::new();
let tx_anf = Transaction::new(&keypair, keypair.pubkey(), 1, start_hash); let tx_anf = Transaction::system_new(&keypair, keypair.pubkey(), 1, start_hash);
// send 'em over // send 'em over
let recycler = PacketRecycler::default(); let recycler = PacketRecycler::default();