remove height argument from fee related functions as per fixpastfees RFC (#602)

* remove height argument from fee related functions as per fixpastfees RFC

* Cargo.lock updated from cargo update -p grin_core
This commit is contained in:
John Tromp
2021-05-19 14:27:42 -04:00
committed by GitHub
parent 83fd8ffc86
commit b7f587f2b3
7 changed files with 36 additions and 43 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ where
K: keychain::Keychain + 'a,
{
// build block fees
let fee_amt = txs.iter().map(|tx| tx.fee(prev.height + 1)).sum();
let fee_amt = txs.iter().map(|tx| tx.fee()).sum();
let block_fees = BlockFees {
fees: fee_amt,
key_id: None,