From 2a7eba9f6b8bb938e5ee63115c3a8b5eee7f055b Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Thu, 17 Apr 2014 09:56:58 -0300 Subject: [PATCH] Update TransactionBuilder name --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3c71e035d..149185404 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ Check the list of all supported RPC call at [RpcClient.js](RpcClient.js) ## Creating and sending a Transaction through P2P The fee of the transaction can be given in `opts` or it will be determined -by the transaction size. Documentation on the paramets of `TransactionBuilder` +by the transaction size. Documentation on the parameters of `TransactionBuilder` can be found on the source file. ```js @@ -177,9 +177,9 @@ peerman.on('connect', function() { if (conn) { var outs = [{address:toAddress, amount:amt}]; var opts = {remainderOut: {address: changeAddressString}}; - var Builder = bitcore.TransactionBuilder; + var TransactionBuilder = bitcore.TransactionBuilder; - var tx = new Builder(opts) + var tx = new TransactionBuilder(opts) .setUnspent(Unspent) .setOutputs(outs) .sign(keys)