diff --git a/src/variant.cpp b/src/variant.cpp index 542ee66..3af5683 100644 --- a/src/variant.cpp +++ b/src/variant.cpp @@ -663,7 +663,7 @@ void from_variant( const variant& var, std::vector& vo ) if( vo.size() ) { size_t r = from_hex( str, vo.data(), vo.size() ); - FC_ASSERT( r = vo.size() ); + FC_ASSERT( r == vo.size() ); } // std::string b64 = base64_decode( var.as_string() ); // vo = std::vector( b64.c_str(), b64.c_str() + b64.size() );