mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-10 07:08:05 -05:00
blockchain/Block: moved producer tx at last position of blocks' txs vec
This commit is contained in:
@@ -82,14 +82,7 @@ impl Harness {
|
||||
let header =
|
||||
Header::new(previous_hash, previous.header.epoch, id, timestamp, previous.header.root);
|
||||
|
||||
BlockInfo::new(
|
||||
header,
|
||||
vec![],
|
||||
previous.signature,
|
||||
previous.proposal.clone(),
|
||||
previous.eta,
|
||||
vec![slot],
|
||||
)
|
||||
BlockInfo::new(header, previous.txs.clone(), previous.signature, previous.eta, vec![slot])
|
||||
}
|
||||
|
||||
fn add_blocks(&self, blocks: &[BlockInfo]) -> Result<()> {
|
||||
|
||||
Reference in New Issue
Block a user