mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-24 18:21:08 +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
@@ -147,7 +147,13 @@ impl<T: Trait<I>, I: Instance> Module<T, I> {
|
||||
/// Returns true if currency exchange module is able to import given transaction proof in
|
||||
/// its current state.
|
||||
pub fn filter_transaction_proof(proof: &<T::PeerBlockchain as PeerBlockchain>::TransactionInclusionProof) -> bool {
|
||||
if prepare_deposit_details::<T, I>(proof).is_err() {
|
||||
if let Err(err) = prepare_deposit_details::<T, I>(proof) {
|
||||
frame_support::debug::trace!(
|
||||
target: "runtime",
|
||||
"Can't accept exchange transaction: {:?}",
|
||||
err,
|
||||
);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user