Whoops...
This commit is contained in:
parent
335d0dcd96
commit
45ec63d2f1
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ Transaction.prototype.sign = function(index, key, type) {
|
||||||
Transaction.prototype.signWithKeys = function(keys, outputs, type) {
|
Transaction.prototype.signWithKeys = function(keys, outputs, type) {
|
||||||
type = type || SIGHASH_ALL;
|
type = type || SIGHASH_ALL;
|
||||||
var addrdata = keys.map(function(key) {
|
var addrdata = keys.map(function(key) {
|
||||||
key = new Bitcoin.Key(key);
|
key = new ECKey(key);
|
||||||
return {
|
return {
|
||||||
key: key,
|
key: key,
|
||||||
address: key.getBitcoinAddress().toString()
|
address: key.getBitcoinAddress().toString()
|
||||||
|
|
Loading…
Add table
Reference in a new issue