Fix fee retrieval for pre-ringct txes (#90)

This commit is contained in:
Lee *!* Clagett 2023-12-16 14:23:03 -05:00 committed by GitHub
parent 1bbe12f3d6
commit 989b8cd857
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
}
);