Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
gluk64 committed Feb 13, 2020
1 parent 9a19434 commit 9fa5ded
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 1 addition & 5 deletions core/models/src/node/operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,7 @@ impl DepositOp {
);

Ok(Self {
priority_op: Deposit {
token,
amount,
to,
},
priority_op: Deposit { token, amount, to },
account_id,
})
}
Expand Down
2 changes: 0 additions & 2 deletions core/models/src/node/priority_ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ impl FranklinPriorityOp {
pub_data: &[u8],
op_type_id: u8,
) -> Result<Self, failure::Error> {

// see contracts/contracts/Operations.sol
match op_type_id {
DepositOp::OP_CODE => {
Expand Down Expand Up @@ -80,7 +79,6 @@ impl FranklinPriorityOp {
}))
}
FullExitOp::OP_CODE => {

// account_id
let (account_id, pub_data_left) = {
let (account_id, left) = pub_data.split_at(ACCOUNT_ID_BIT_WIDTH / 8);
Expand Down

0 comments on commit 9fa5ded

Please sign in to comment.