remove unused AddrToPubKey

This commit is contained in:
MarcoFalke
2025-05-15 14:50:11 +02:00
parent faecf158d9
commit fa91d57de3
3 changed files with 2 additions and 27 deletions

View File

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