mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-09 03:13:13 +00:00
crypto: allow to provide non-default scrypt parameters
This commit is contained in:
parent
61dfca346c
commit
50296975e2
24 changed files with 59 additions and 58 deletions
|
@ -66,7 +66,7 @@ func getTestOracle(t *testing.T, bc *Blockchain, walletPath, pass string) (
|
|||
|
||||
w, err := wallet.NewWalletFromFile(path.Join(oracleModulePath, walletPath))
|
||||
require.NoError(t, err)
|
||||
require.NoError(t, w.Accounts[0].Decrypt(pass))
|
||||
require.NoError(t, w.Accounts[0].Decrypt(pass, w.Scrypt))
|
||||
return w.Accounts[0], orc, m, ch
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue