Fix bug with wrong order of tx inputs

This commit is contained in:
Manfred Karrer 2016-03-18 01:30:49 +01:00
parent b6408d70e4
commit 808d56470a

View file

@ -389,7 +389,7 @@ public class TradeWalletService {
}
// Sign inputs
int start = offererIsBuyer ? 0 : offererInputs.size();
int start = offererIsBuyer ? 0 : takerRawTransactionInputs.size();
int end = offererIsBuyer ? offererInputs.size() : preparedDepositTx.getInputs().size();
for (int i = start; i < end; i++) {
TransactionInput input = preparedDepositTx.getInput(i);