mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
refactor: Replace HexStr(o.begin(), o.end()) with HexStr(o)
HexStr can be called with anything that bas `begin()` and `end()` functions, so clean up the redundant calls.
This commit is contained in:
parent
205b87d2f6
commit
bd93e32292
18 changed files with 43 additions and 43 deletions
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
void test_one_input(const std::vector<uint8_t>& buffer)
|
||||
{
|
||||
const std::string tx_hex = HexStr(std::string{buffer.begin(), buffer.end()});
|
||||
const std::string tx_hex = HexStr(buffer);
|
||||
CMutableTransaction mtx;
|
||||
const bool result_none = DecodeHexTx(mtx, tx_hex, false, false);
|
||||
const bool result_try_witness = DecodeHexTx(mtx, tx_hex, false, true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue