mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 23:18:15 -05:00
Generate keys in test (#3807)
This commit is contained in:
committed by
terence tsao
parent
1433fab0d4
commit
04113baf9d
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user