Fix tx format service

This commit is contained in:
Gustavo Maximiliano Cortez 2016-02-29 16:34:57 -03:00
commit 06bf8a7c7e
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -26,7 +26,7 @@ angular.module('copayApp.services').factory('txFormatService', function(profileS
return tx;
// New transaction output format
if (tx.outputs) {
if (tx.outputs && tx.outputs.length) {
var outputsNr = tx.outputs.length;