diff options
author | Pieter Wuille <pieter@wuille.net> | 2021-01-05 12:55:15 -0800 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2021-03-27 12:09:13 -0700 |
commit | 1485533092a0732bae55313659a3e3f9669fd77a (patch) | |
tree | d67e5f8780cb44088706e0231629bcb85492a1b2 /src/bench/bech32.cpp | |
parent | a30fd40735eb5646dd4bf3c78d1532fde14502b6 (diff) | |
download | bitcoin-1485533092a0732bae55313659a3e3f9669fd77a.tar.xz |
Implement Bech32m encoding/decoding
Github-Pull: #20861
Rebased-From: da2bb6976dadeec682d163c258c9afecc87d6428
Diffstat (limited to 'src/bench/bech32.cpp')
-rw-r--r-- | src/bench/bech32.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/bech32.cpp b/src/bench/bech32.cpp index c74d8d51b3..8e10862a37 100644 --- a/src/bench/bech32.cpp +++ b/src/bench/bech32.cpp @@ -19,7 +19,7 @@ static void Bech32Encode(benchmark::Bench& bench) tmp.reserve(1 + 32 * 8 / 5); ConvertBits<8, 5, true>([&](unsigned char c) { tmp.push_back(c); }, v.begin(), v.end()); bench.batch(v.size()).unit("byte").run([&] { - bech32::Encode("bc", tmp); + bech32::Encode(bech32::Encoding::BECH32, "bc", tmp); }); } |