aboutsummaryrefslogtreecommitdiff
path: root/src/bench/base58.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bench/base58.cpp')
-rw-r--r--src/bench/base58.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bench/base58.cpp b/src/bench/base58.cpp
index dee3ffeb6b..18cb5de196 100644
--- a/src/bench/base58.cpp
+++ b/src/bench/base58.cpp
@@ -34,10 +34,8 @@ static void Base58CheckEncode(benchmark::Bench& bench)
200, 24
}
};
- std::vector<unsigned char> vch;
- vch.assign(buff.begin(), buff.end());
bench.batch(buff.size()).unit("byte").run([&] {
- EncodeBase58Check(vch);
+ EncodeBase58Check(buff);
});
}