util: make EncodeBase58 consume Spans

This commit is contained in:
Sebastian Falbesoner
2020-08-10 02:52:37 +02:00
parent bd00d3b1f2
commit f0fce0675d
5 changed files with 13 additions and 23 deletions

View File

@@ -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);
});
}