mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-24 02:01:43 +00:00
Tests almost passing
This commit is contained in:
committed by
Ethan Buchman
parent
a15c7f221d
commit
7ad8a8ab55
@ -34,7 +34,9 @@ func TestLoadOrGenValidator(t *testing.T) {
|
||||
assert := assert.New(t)
|
||||
|
||||
_, tempFilePath := cmn.Tempfile("priv_validator_")
|
||||
os.Remove(tempFilePath)
|
||||
if err := os.Remove(tempFilePath); err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
privVal := LoadOrGenPrivValidatorFS(tempFilePath)
|
||||
addr := privVal.GetAddress()
|
||||
privVal = LoadOrGenPrivValidatorFS(tempFilePath)
|
||||
|
Reference in New Issue
Block a user