aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2021-01-05 12:55:15 -0800
committerPieter Wuille <pieter@wuille.net>2021-03-15 17:26:35 -0700
commitda2bb6976dadeec682d163c258c9afecc87d6428 (patch)
tree4bc543987df4b721cde20aa102ffe50dbe639a29 /src/bench
parent4ba1bab44390090a939d5ab2dee1440330f9a2d7 (diff)
Implement Bech32m encoding/decoding
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/bech32.cpp2
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);
});
}