Updated on 2026-08-14

This commit is contained in:
Tangem 2020-04-17 18:18:31 +03:00
parent cbfc4de67b
commit 7ba040e317
5 changed files with 29 additions and 16 deletions

View file

@ -517,8 +517,6 @@ public class BtcEngine extends CoinEngine {
@Override
public byte[][] getHashesToSign() throws Exception {
byte[][] dataForSign = new byte[unspentOutputs.size()][];
if (txForSign.length > 10)
throw new Exception("To much hashes in one transaction!");
for (int i = 0; i < unspentOutputs.size(); ++i) {
dataForSign[i] = bodyDoubleHash[i];
}