mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 13:41:37 +00:00
consensus: limit the number of signatures used for test transactions
We only need 3 out of 4.
This commit is contained in:
parent
330e1670d6
commit
395f4ea46d
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue