Fix build

This commit is contained in:
Michael Vines
2020-04-27 12:26:23 -07:00
parent 8ef097bf6f
commit 839ff51b9a

View File

@ -479,8 +479,7 @@ mod tests {
AccountMeta::new(id0, true),
],
);
let ixs = vec![ix];
let mut tx = Transaction::new_with_payer(ixs, Some(&key.pubkey()));
let mut tx = Transaction::new_with_payer(&[ix], Some(&key.pubkey()));
let o = tx.clone();
assert_eq!(tx.sanitize(), Ok(()));
assert_eq!(tx.message.account_keys.len(), 3);