revert CbData changes

mining node calls build_coinbase and this needs to be consistent with grin node
This commit is contained in:
antiochp
2019-08-19 16:58:13 +01:00
parent ec3d08a710
commit caea305587
4 changed files with 5 additions and 9 deletions
+1 -1
View File
@@ -82,7 +82,7 @@ pub fn add_block_with_reward(chain: &Chain, txs: Vec<&Transaction>, reward: CbDa
&prev,
txs.into_iter().cloned().collect(),
next_header_info.clone().difficulty,
(reward.output, TxKernel::from(&reward.kernel)),
(reward.output, reward.kernel),
)
.unwrap();
b.header.timestamp = prev.timestamp + Duration::seconds(60);