@ -101,7 +101,7 @@ int main(int ac, const char* av[]) {
CROW_ROUTE(app, "/search").methods("GET"_method)
([&](const crow::request& req) {
return xmrblocks.search(string(req.url_params.get("value")));
});
@ -1322,9 +1322,9 @@ namespace xmreg {
txd.xmr_outputs = sum_money_in_outputs(tx);
// get mixin number
txd.mixin_no = get_mixin_no(tx);
if (!coinbase)
if (!coinbase && tx.vin.size() > 1)
{
// get tx fee
txd.fee = get_tx_fee(tx);