Skip to content

Conversation

@kobake
Copy link

@kobake kobake commented May 19, 2020

The signature of KeyId.GetAddress() method is as follows. It indicates this method accepts only Network type. ScriptPubKeyType argument is not acceptable, so they should be removed.

public class KeyId : TxDestination
{
    public override BitcoinAddress GetAddress(Network network);
}

@NicolasDorier
Copy link
Collaborator

This is not a mistake, a KeyId represent a ScriptPubKey. This TxDestination class is confusing, I will try to deprecate it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants