Fixed TransactionBuilder docs

This commit is contained in:
Rich Apodaca 2014-05-08 14:53:18 -07:00
parent 27b60c9e3f
commit 8489b50c32
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@
// var tx = builder.build(); // var tx = builder.build();
// broadcast(tx.serialize()); // broadcast(tx.serialize());
// //
// //Searialize it and pass it around... // //Serialize it and pass it around...
// var string = JSON.stringify(builder.toObj()); // var string = JSON.stringify(builder.toObj());
// // then... // // then...
// var builder = TransactionBuilder.fromObj(JSON.parse(str); // var builder = TransactionBuilder.fromObj(JSON.parse(str);
@ -189,7 +189,7 @@ TransactionBuilder.infoForP2sh = function(opts, networkName) {
// ``` // ```
// [{ // [{
// address: "mqSjTad2TKbPcKQ3Jq4kgCkKatyN44UMgZ", // address: "mqSjTad2TKbPcKQ3Jq4kgCkKatyN44UMgZ",
// hash: "2ac165fa7a3a2b535d106a0041c7568d03b531e58aeccdd3199d7289ab12cfc1", // txid: "2ac165fa7a3a2b535d106a0041c7568d03b531e58aeccdd3199d7289ab12cfc1",
// scriptPubKey: "76a9146ce4e1163eb18939b1440c42844d5f0261c0338288ac", // scriptPubKey: "76a9146ce4e1163eb18939b1440c42844d5f0261c0338288ac",
// vout: 1, // vout: 1,
// amount: 0.01, // amount: 0.01,