Skip to content

Commit 5953474

Browse files
committed
add fee information to transactions log that end with success or skipped, #5601
1 parent c5f0ed8 commit 5953474

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stackslib/src/chainstate/stacks/miner.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,7 @@ impl TransactionResult {
422422
"event_name" => %"transaction_result",
423423
"tx_id" => %tx.txid(),
424424
"event_type" => %"success",
425+
"fee" => tx.get_tx_fee()
425426
);
426427
}
427428

@@ -445,6 +446,7 @@ impl TransactionResult {
445446
"tx_id" => %tx.txid(),
446447
"event_type" => "skip",
447448
"reason" => %err,
449+
"fee" => tx.get_tx_fee()
448450
);
449451
}
450452

0 commit comments

Comments
 (0)