mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-14 22:58:13 +01:00
util: make EncodeBase58 consume Spans
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user