diff --git a/libraries/net/include/graphene/net/core_messages.hpp b/libraries/net/include/graphene/net/core_messages.hpp index 27607832de..41e1d74154 100644 --- a/libraries/net/include/graphene/net/core_messages.hpp +++ b/libraries/net/include/graphene/net/core_messages.hpp @@ -95,13 +95,10 @@ namespace graphene { namespace net { static const core_message_type_enum type; graphene::protocol::precomputable_transaction trx; - trx_message() {} - trx_message(const graphene::protocol::signed_transaction& signed_trx) : + trx_message() = default; + explicit trx_message(graphene::protocol::signed_transaction&& signed_trx) : trx(signed_trx) {} - trx_message(graphene::protocol::signed_transaction&& signed_trx) : - trx(std::move(signed_trx)) - {} }; struct block_message