Fix wrong property name in docs (Address.Pay2PubKeyHash)

Hi,

There is no `Address.Pay2PubKeyHash` property, instead it's `Address.PayToPublicKeyHash`.
This commit is contained in:
Saran Siriphantnon 2016-05-06 15:12:13 +07:00
parent 7fb064bde0
commit 85666e92da
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ if (Address.isValid(input, Networks.testnet){
}
// validate that an input field is a valid livenet pubkeyhash
if (Address.isValid(input, Networks.livenet, Address.Pay2PubKeyHash){
if (Address.isValid(input, Networks.livenet, Address.PayToPublicKeyHash){
...
}