From eda94d4fe3508256a903930b6a0078d956d7a3e3 Mon Sep 17 00:00:00 2001 From: Rich Apodaca Date: Mon, 28 Jul 2014 21:59:42 -0700 Subject: [PATCH] Fixed, added console.log output on README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1689f09..76bccd6 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ key = bitcoin.ECKey.makeRandom() // Print your private key (in WIF format) console.log(key.toWIF()) -// => 8c112cf628362ecf4d482f68af2dbb50c8a2cb90d226215de925417aa9336a48 +// => Kxr9tQED9H44gCmp6HAdmemAzU3n84H3dGkuWTKvE23JgHMW8gct // Print your public key (toString defaults to a Bitcoin address) console.log(key.pub.getAddress().toString()) @@ -120,6 +120,7 @@ var scriptPubKey = bitcoin.scripts.scriptHashOutput(redeemScript.getHash()) var multisigAddress = bitcoin.Address.fromOutputScript(scriptPubKey).toString() console.log("multisigP2SH:", multisigAddress) +// => multisigP2SH: 35k9EWv2F1X5JKXHSF1DhTm7Ybdiwx4RkD ```