fix truncateSatoshis for x === 0