Fix tests compilation problems.

This commit is contained in:
cheatfate 2020-09-28 13:11:21 +03:00 committed by zah
parent 0101bca828
commit d2f8cf9386
1 changed files with 2 additions and 2 deletions

View File

@ -224,7 +224,7 @@ suiteReport "KeyStorage testing suite":
KeystorePass password, KeystorePass password,
salt = salt, iv = iv, salt = salt, iv = iv,
description = "PBKDF2 Network private key storage", description = "PBKDF2 Network private key storage",
path = validateKeyPath "m/12381/60/0/0") path = validateKeyPath("m/12381/60/0/0").expect("Valid keypath"))
var var
encryptJson = parseJson Json.encode(nkeystore) encryptJson = parseJson Json.encode(nkeystore)
pbkdf2Json = parseJson(pbkdf2NetVector) pbkdf2Json = parseJson(pbkdf2NetVector)
@ -251,7 +251,7 @@ suiteReport "KeyStorage testing suite":
KeystorePass password, KeystorePass password,
salt = salt, iv = iv, salt = salt, iv = iv,
description = "SCRYPT Network private key storage", description = "SCRYPT Network private key storage",
path = validateKeyPath "m/12382/60/0/0") path = validateKeyPath("m/12382/60/0/0").expect("Valid keypath"))
var var
encryptJson = parseJson Json.encode(nkeystore) encryptJson = parseJson Json.encode(nkeystore)
pbkdf2Json = parseJson(scryptNetVector) pbkdf2Json = parseJson(scryptNetVector)