mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 23:03:45 +01:00
remove unused AddrToPubKey
This commit is contained in:
@@ -186,9 +186,6 @@ FUZZ_TARGET(key, .init = initialize_key)
|
||||
const std::string destination_address = EncodeDestination(tx_destination);
|
||||
assert(DecodeDestination(destination_address) == tx_destination);
|
||||
|
||||
const CPubKey pubkey_from_address_string = AddrToPubKey(fillable_signing_provider, destination_address);
|
||||
assert(pubkey_from_address_string == pubkey);
|
||||
|
||||
CKeyID key_id = pubkey.GetID();
|
||||
assert(!key_id.IsNull());
|
||||
assert(key_id == CKeyID{key_id});
|
||||
|
||||
Reference in New Issue
Block a user