From 06bf8a7c7e39eab50ca562ef3a862e06314a2c86 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Mon, 29 Feb 2016 16:34:57 -0300 Subject: [PATCH] Fix tx format service --- src/js/services/txFormatService.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/services/txFormatService.js b/src/js/services/txFormatService.js index 4cd12d23e..37b92ca95 100644 --- a/src/js/services/txFormatService.js +++ b/src/js/services/txFormatService.js @@ -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;