forked from cheng/wallet
src/db_accessors.cpp made it utf-8 bom
src/unit_test.cpp typo in error message
This commit is contained in:
parent
feb040d800
commit
acf980a5a1
@ -1,4 +1,4 @@
|
|||||||
#include "stdafx.h"
|
#include "stdafx.h"
|
||||||
namespace ro {
|
namespace ro {
|
||||||
static constexpr char SrcFilename[]{ "src/db_accessors.cpp" };
|
static constexpr char SrcFilename[]{ "src/db_accessors.cpp" };
|
||||||
|
|
||||||
|
@ -198,7 +198,7 @@ static bool checkDataConversionsProduceExpected(void){
|
|||||||
point pt_a{ scl_b.timesBase() };
|
point pt_a{ scl_b.timesBase() };
|
||||||
std::string str_pt_a{ &(base58(pt_a))[0] };
|
std::string str_pt_a{ &(base58(pt_a))[0] };
|
||||||
if (pt_a != base58<point>::bin(str_pt_a.c_str())){
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user