src/db_accessors.cpp made it utf-8 bom

src/unit_test.cpp typo in error message
This commit is contained in:
Cheng 2024-07-29 08:37:49 +00:00
parent feb040d800
commit acf980a5a1
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#include "stdafx.h"
#include "stdafx.h"
namespace ro {
static constexpr char SrcFilename[]{ "src/db_accessors.cpp" };

View File

@ -198,7 +198,7 @@ static bool checkDataConversionsProduceExpected(void){
point pt_a{ scl_b.timesBase() };
std::string str_pt_a{ &(base58(pt_a))[0] };
if (pt_a != base58<point>::bin(str_pt_a.c_str())){
throw MyException("Round trip from and two base 58 representation failed", __LINE__, __func__, SrcFilename);
throw MyException("Round trip to and from base 58 representation failed", __LINE__, __func__, SrcFilename);
}
}
{