From 33d0bc0255861ca335142704d4d3bc8ee5a2a613 Mon Sep 17 00:00:00 2001 From: Esteban Ordano Date: Fri, 21 Nov 2014 19:52:14 -0300 Subject: [PATCH] Fix nits on Transaction doc --- docs/Transaction.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Transaction.md b/docs/Transaction.md index bb91bce93..cddee12f0 100644 --- a/docs/Transaction.md +++ b/docs/Transaction.md @@ -75,7 +75,7 @@ output. ```javascript var multiSigTx = new Transaction() - .fromMultisig(utxo, publicKeys) + .fromMultisig(utxo, publicKeys, threshold) .spendAllTo(address, amount) .sign(myKeys); @@ -113,7 +113,7 @@ There are some nits that you should have in mind when using this API: We have implemented partially Merge Avoidance for the change addresses of a transaction with a simple API: -``` +```javascript var mergeAvoidance = new Transaction.Strategy.MergeAvoidance({ change: ['1bitcoinChange...', '3bitcoinChange...'] });