settings: fix updateTx
This commit is contained in:
parent
91d6ceefe3
commit
03e4b49bd0
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ angular.module('copayApp.services')
|
||||||
var tx = i.builder.build();
|
var tx = i.builder.build();
|
||||||
var outs = [];
|
var outs = [];
|
||||||
tx.outs.forEach(function(o) {
|
tx.outs.forEach(function(o) {
|
||||||
var addr = bitcore.Address.fromScriptPubKey(o.getScript(), config.networkName)[0].toString();
|
var addr = bitcore.Address.fromScriptPubKey(o.getScript(), w.getNetworkName())[0].toString();
|
||||||
if (!w.addressIsOwn(addr, {
|
if (!w.addressIsOwn(addr, {
|
||||||
excludeMain: true
|
excludeMain: true
|
||||||
})) {
|
})) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue