From fc25883c1ea94f2ab4f8fcc04e11110d3a547f05 Mon Sep 17 00:00:00 2001 From: Benoit Lavenier <benoit.lavenier@e-is.pro> Date: Mon, 4 Nov 2019 18:21:51 +0100 Subject: [PATCH] [fix] fix #845 (mistake in source property) --- release.sh | 6 +++--- www/js/services/wallet-services.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/release.sh b/release.sh index 74528528e..a394cf0fa 100755 --- a/release.sh +++ b/release.sh @@ -165,8 +165,8 @@ git submodule init git submodule sync git submodule update --remote --merge -if [[ -d "$DIRNAME/platforms/desktop" ]]; then - cd platforms/desktop +if [[ -d "${DIRNAME}/platforms/desktop" ]]; then + cd ${DIRNAME}/platforms/desktop # Build desktop assets ./release.sh $2 @@ -178,7 +178,7 @@ else fi; # back to nodejs version 6 -cd $DIRNAME +cd ${DIRNAME} nvm use 6 echo "**********************************" diff --git a/www/js/services/wallet-services.js b/www/js/services/wallet-services.js index 4054880e1..97b4a431b 100644 --- a/www/js/services/wallet-services.js +++ b/www/js/services/wallet-services.js @@ -1073,7 +1073,7 @@ angular.module('cesium.wallet.services', ['ngApi', 'ngFileSaver', 'cesium.bma.se _.find(data.sources || [], function(source) { if (!source.consumed && source.base === filterBase && // Filter on simple SIG output condition - fix #845 - BMA.regexp.TX_OUTPUT_SIG.exec(source.condition) + BMA.regexp.TX_OUTPUT_SIG.exec(source.conditions) ) { sourcesAmount += powBase(source.amount, source.base); sources.push(source); -- GitLab