mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +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
|
|
@ -108,7 +108,7 @@ void test_one_input(const std::vector<uint8_t>& buffer)
|
|||
assert(pubkey.IsCompressed());
|
||||
assert(pubkey.IsValid());
|
||||
assert(pubkey.IsFullyValid());
|
||||
assert(HexToPubKey(HexStr(pubkey.begin(), pubkey.end())) == pubkey);
|
||||
assert(HexToPubKey(HexStr(pubkey)) == pubkey);
|
||||
assert(GetAllDestinationsForKey(pubkey).size() == 3);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue