diff --git a/src/common/txsplain.js b/src/common/txsplain.js index 1853ab3..15602f2 100644 --- a/src/common/txsplain.js +++ b/src/common/txsplain.js @@ -213,14 +213,16 @@ angular.module('txsplain', []) if (finalBalance < 0) { account = fields.HighLimit.issuer; issuer = fields.LowLimit.issuer; - change = previousBalance - finalBalance; finalBalance = 0 - finalBalance; + previousBalance = 0 - previousBalance; + } else { account = fields.LowLimit.issuer; issuer = fields.HighLimit.issuer; - change = finalBalance - previousBalance; } + change = finalBalance - previousBalance; + var html = '
  • It ' + action + ' a ' + '' + fields.Balance.currency + ' ' + 'RippleState ' +