From acf980a5a11de04263fdd42e16b6908cc8f58996 Mon Sep 17 00:00:00 2001 From: Cheng Date: Mon, 29 Jul 2024 08:37:49 +0000 Subject: [PATCH] src/db_accessors.cpp made it utf-8 bom src/unit_test.cpp typo in error message --- src/db_accessors.cpp | 2 +- src/unit_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db_accessors.cpp b/src/db_accessors.cpp index c076ef9..0168e04 100644 --- a/src/db_accessors.cpp +++ b/src/db_accessors.cpp @@ -1,4 +1,4 @@ -#include "stdafx.h" +#include "stdafx.h" namespace ro { static constexpr char SrcFilename[]{ "src/db_accessors.cpp" }; diff --git a/src/unit_test.cpp b/src/unit_test.cpp index 51c0fa1..2c2c232 100644 --- a/src/unit_test.cpp +++ b/src/unit_test.cpp @@ -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::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); } } {