Changeset View
Changeset View
Standalone View
Standalone View
src/test/cashaddr_tests.cpp
// Copyright (c) 2017 Pieter Wuille | // Copyright (c) 2017 Pieter Wuille | ||||
// Copyright (c) 2017 The Bitcoin developers | // Copyright (c) 2017 The Bitcoin developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#include "cashaddr.h" | #include <cashaddr.h> | ||||
#include "test/test_bitcoin.h" | |||||
#include <test/test_bitcoin.h> | |||||
#include <boost/test/unit_test.hpp> | #include <boost/test/unit_test.hpp> | ||||
static std::pair<std::string, std::vector<uint8_t>> | static std::pair<std::string, std::vector<uint8_t>> | ||||
CashAddrDecode(const std::string &str) { | CashAddrDecode(const std::string &str) { | ||||
return cashaddr::Decode(str, ""); | return cashaddr::Decode(str, ""); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 102 Lines • Show Last 20 Lines |