Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.