commit
41683bf10a
|
@ -158,6 +158,7 @@ BlockchainMonitor.prototype._handleIncomingPayments = function(coin, network, da
|
|||
|
||||
var outs = _.compact(_.map(data.vout, function(v) {
|
||||
var addr = _.keys(v)[0];
|
||||
var amount = +v[addr];
|
||||
|
||||
// This is because a bug on insight, that always return no copay addr
|
||||
if (coin == 'bch' && Utils.getAddressCoin(addr) !='bch') {
|
||||
|
@ -166,7 +167,7 @@ BlockchainMonitor.prototype._handleIncomingPayments = function(coin, network, da
|
|||
|
||||
return {
|
||||
address: addr,
|
||||
amount: +v[addr]
|
||||
amount: amount,
|
||||
};
|
||||
}));
|
||||
if (_.isEmpty(outs)) return;
|
||||
|
|
Loading…
Reference in New Issue