From 962a816d1763a7a824b540e013f4ce4f1942ba90 Mon Sep 17 00:00:00 2001 From: theoreticalbts Date: Tue, 18 Oct 2016 15:57:46 -0400 Subject: [PATCH] variant.cpp: Fix bug in FC_ASSERT() --- src/variant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() );