From 85666e92da3bbff5cd749c2f6e82ada6c43ec2ef Mon Sep 17 00:00:00 2001 From: Saran Siriphantnon Date: Fri, 6 May 2016 15:12:13 +0700 Subject: [PATCH] Fix wrong property name in docs (Address.Pay2PubKeyHash) Hi, There is no `Address.Pay2PubKeyHash` property, instead it's `Address.PayToPublicKeyHash`. --- docs/address.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/address.md b/docs/address.md index 8e4a979..55adae2 100644 --- a/docs/address.md +++ b/docs/address.md @@ -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){ ... }