Generate keys in test (#3807)

This commit is contained in:
Jim McDonald
2019-10-19 18:29:25 +01:00
committed by terence tsao
parent 1433fab0d4
commit 04113baf9d

View File

@@ -8,6 +8,8 @@ import (
)
func TestSavesUnencryptedKeys(t *testing.T) {
keys := 2
numKeys = &keys
ctnr := generateUnencryptedKeys(0 /* start index */)
buf := new(bytes.Buffer)
if err := SaveUnencryptedKeysToFile(buf, ctnr); err != nil {