From 45ec63d2f1b9e988f52562fe8258cb6fe4463854 Mon Sep 17 00:00:00 2001 From: vub Date: Mon, 21 Oct 2013 15:33:35 -0400 Subject: [PATCH] Whoops... --- src/transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transaction.js b/src/transaction.js index e2b5300..eeaa2ee 100644 --- a/src/transaction.js +++ b/src/transaction.js @@ -479,7 +479,7 @@ Transaction.prototype.sign = function(index, key, type) { Transaction.prototype.signWithKeys = function(keys, outputs, type) { type = type || SIGHASH_ALL; var addrdata = keys.map(function(key) { - key = new Bitcoin.Key(key); + key = new ECKey(key); return { key: key, address: key.getBitcoinAddress().toString()