ToKeyID

Convert a witness key-hash destination back to a key identifier.

Synopsis

Declared in <addresstype.h>

CKeyID
ToKeyID(WitnessV0KeyHash const& key_hash);

Return Value

The corresponding key identifier.

Parameters

NameDescription
key_hashThe witness key hash to convert.