Updated on 2026-08-14

This commit is contained in:
Tangem 2018-09-05 13:10:40 +03:00
parent b1134eb19e
commit 198457327c
8 changed files with 31 additions and 3 deletions

View file

@ -498,7 +498,7 @@ public class BtcEngine extends CoinEngine {
}
if (amount + fees > fullAmount) {
throw new Exception(String.format("Balance (%d) < amount (%d) + (%d)", fullAmount, change, amount));
throw new CardProtocol.TangemException_WrongAmount(String.format("Balance (%d) < amount (%d) + (%d)", fullAmount, change, amount));
}
byte[][] dataForSign = new byte[unspentOutputs.size()][];