|
@ -176,7 +176,7 @@ peerman.on('connect', function() { |
|
|
var conn = peerman.getActiveConnection(); |
|
|
var conn = peerman.getActiveConnection(); |
|
|
if (conn) { |
|
|
if (conn) { |
|
|
var outs = [{address:toAddress, amount:amt}]; |
|
|
var outs = [{address:toAddress, amount:amt}]; |
|
|
var opts = {remainderAddress: changeAddressString}; |
|
|
var opts = {remainderOut: {address: changeAddressString}}; |
|
|
var Builder = bitcore.TransactionBuilder; |
|
|
var Builder = bitcore.TransactionBuilder; |
|
|
|
|
|
|
|
|
var tx = new Builder(opts) |
|
|
var tx = new Builder(opts) |
|
|