diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 5c375b10..a54a6f1d 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -529,7 +529,7 @@ namespace tools if (!req.comment.empty() && payment_id.empty()) { - currency::tx_comment{}; + currency::tx_comment comment{}; comment.comment = req.comment; extra.push_back(comment); }