Skip to content
This repository was archived by the owner on May 28, 2019. It is now read-only.

Add Bitcoin Test Net and fix some bugs#79

Open
zhaojiewen wants to merge 15 commits intotrustwallet:masterfrom
zhaojiewen:TestNet
Open

Add Bitcoin Test Net and fix some bugs#79
zhaojiewen wants to merge 15 commits intotrustwallet:masterfrom
zhaojiewen:TestNet

Conversation

@zhaojiewen
Copy link

No description provided.

@hewigovens
Copy link
Contributor

@zhaojiewen Thanks for contributing, could you please check the ci status? some testcases failed

@zhaojiewen
Copy link
Author

@zhaojiewen Thanks for contributing, could you please check the ci status? some testcases failed

@hewigovens I have fix it, thanks!

};
if (hrp) {
*hrp = [NSString stringWithUTF8String:hrpBuf];
NSArray<NSString*>* bitcoinsHRP = @[@"bc",@"tb"];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part is tricky, since this is the general decoding method, what if "ltc" for Litecoin? It's better to move this validation to BitcoinSegwitAddress or somewhere

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants