Skip to content

Commit

Permalink
Remove obsolete temp init comment
Browse files Browse the repository at this point in the history
  • Loading branch information
coderofstuff committed Dec 31, 2023
1 parent 7f24784 commit aef51ab
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions consensus/core/src/tx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,16 +159,7 @@ impl Transaction {
gas: u64,
payload: Vec<u8>,
) -> Self {
Self {
version,
inputs,
outputs,
lock_time,
subnetwork_id,
gas,
payload,
id: Default::default(), // Temp init before the finalize below
}
Self { version, inputs, outputs, lock_time, subnetwork_id, gas, payload, id: Default::default() }
}
}

Expand Down

0 comments on commit aef51ab

Please sign in to comment.