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.cpp2
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);
});
}