mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-06 09:07:30 +00:00
Fix gas_used fields in receipts (#261)
* gas_used should be cumulative_gas_used!!! * more runtime traces * improve logs
This commit is contained in:
committed by
Bastian Köcher
parent
e665f93608
commit
80cc9e793e
@@ -132,7 +132,7 @@ impl<'a> Validators<'a> {
|
||||
}
|
||||
|
||||
let receipts = receipts.ok_or(Error::MissingTransactionsReceipts)?;
|
||||
if !header.verify_receipts_root(&receipts) {
|
||||
if header.check_receipts_root(&receipts).is_err() {
|
||||
return Err(Error::TransactionsReceiptsMismatch);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user