diff --git a/token-contracts/bBaln/src/main/java/network/balanced/score/tokens/BoostedBalnImpl.java b/token-contracts/bBaln/src/main/java/network/balanced/score/tokens/BoostedBalnImpl.java index 894c999d1..2d10c88dc 100644 --- a/token-contracts/bBaln/src/main/java/network/balanced/score/tokens/BoostedBalnImpl.java +++ b/token-contracts/bBaln/src/main/java/network/balanced/score/tokens/BoostedBalnImpl.java @@ -326,7 +326,7 @@ public void xWithdrawEarly(String _from) { } public void xWithdraw(String _from) { - xWithdraw(_from); + withdrawInternal(_from); } @External @@ -481,9 +481,7 @@ public BigInteger xBalanceOfAt(String _owner, BigInteger block) { } UnsignedBigInteger delta = blockTime.subtract(uPoint.timestamp); - BigInteger balance = uPoint.bias.subtract(uPoint.slope.multiply(delta.toBigInteger())).max(BigInteger.ZERO); - - return balance; + return uPoint.bias.subtract(uPoint.slope.multiply(delta.toBigInteger())).max(BigInteger.ZERO); } @External(readonly = true)