consensus: limit the number of signatures used for test transactions

We only need 3 out of 4.
This commit is contained in:
Roman Khimov 2020-07-13 18:07:59 +03:00
parent 330e1670d6
commit 395f4ea46d

View file

@ -257,6 +257,7 @@ func signTx(t *testing.T, feePerByte int64, txs ...*transaction.Transaction) {
privNetKeys[i] = testchain.PrivateKey(i)
validators[i] = privNetKeys[i].PublicKey()
}
privNetKeys = privNetKeys[:3]
rawScript, err := smartcontract.CreateMultiSigRedeemScript(3, validators)
require.NoError(t, err)
for _, tx := range txs {