From 989b8cd8574797efa66b3b06bc077b6e36ebc074 Mon Sep 17 00:00:00 2001 From: Lee *!* Clagett Date: Sat, 16 Dec 2023 14:23:03 -0500 Subject: [PATCH] Fix fee retrieval for pre-ringct txes (#90) --- src/scanner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scanner.cpp b/src/scanner.cpp index 1533eed..0d7a88c 100644 --- a/src/scanner.cpp +++ b/src/scanner.cpp @@ -511,7 +511,7 @@ namespace lws {0, 0, 0, 0, 0, 0, 0}, // reserved bytes db::pack(ext, payment_id.first), payment_id.second, - tx.rct_signatures.txnFee, + cryptonote::get_tx_fee(tx), account_index } );