diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2020-08-10 02:52:37 +0200 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2020-08-12 16:25:50 +0200 |
commit | f0fce0675d56b2226a993253731690ca864066c8 (patch) | |
tree | 25b8fb258913edec576cad0740f014f8fa643bef /src/bench/base58.cpp | |
parent | bd00d3b1f2036893419d1e8c514a8af2c4e4b1fb (diff) |
util: make EncodeBase58 consume Spans
Diffstat (limited to 'src/bench/base58.cpp')
-rw-r--r-- | src/bench/base58.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/base58.cpp b/src/bench/base58.cpp index 00544cba31..dee3ffeb6b 100644 --- a/src/bench/base58.cpp +++ b/src/bench/base58.cpp @@ -20,7 +20,7 @@ static void Base58Encode(benchmark::Bench& bench) } }; bench.batch(buff.size()).unit("byte").run([&] { - EncodeBase58(buff.data(), buff.data() + buff.size()); + EncodeBase58(buff); }); } |