cargo fmt

This commit is contained in:
Michael Vines
2018-09-20 19:40:11 -07:00
committed by Grimes
parent beeb09646a
commit 2614189157
2 changed files with 2 additions and 9 deletions

View File

@@ -143,14 +143,7 @@ impl Transaction {
pub fn budget_new_vote(from_keypair: &Keypair, vote: Vote, last_id: Hash, fee: i64) -> Self { pub fn budget_new_vote(from_keypair: &Keypair, vote: Vote, last_id: Hash, fee: i64) -> Self {
let instruction = Instruction::NewVote(vote); let instruction = Instruction::NewVote(vote);
let userdata = serialize(&instruction).expect("serialize instruction"); let userdata = serialize(&instruction).expect("serialize instruction");
Self::new_with_userdata( Self::new_with_userdata(from_keypair, &[], BudgetState::id(), userdata, last_id, fee)
from_keypair,
&[],
BudgetState::id(),
userdata,
last_id,
fee,
)
} }
/// Create and sign a postdated Transaction. Used for unit-testing. /// Create and sign a postdated Transaction. Used for unit-testing.