Browse Source

Fix formatting

pull/1063/head
Adrian Brink 7 years ago
parent
commit
ba475d3128
No known key found for this signature in database GPG Key ID: 9168AC350E33CEF2
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      lite/inquirer_test.go

+ 4
- 2
lite/inquirer_test.go View File

@ -32,7 +32,8 @@ func TestInquirerValidPath(t *testing.T) {
vals := keys.ToValidators(vote, 0)
h := int64(20 + 10*i)
appHash := []byte(fmt.Sprintf("h=%d", h))
commits[i] = keys.GenFullCommit(chainID, h, nil, vals, appHash, consHash, resHash, 0, len(keys))
commits[i] = keys.GenFullCommit(chainID, h, nil, vals, appHash, consHash, resHash, 0,
len(keys))
}
// initialize a certifier with the initial state
@ -81,7 +82,8 @@ func TestInquirerMinimalPath(t *testing.T) {
h := int64(5 + 10*i)
appHash := []byte(fmt.Sprintf("h=%d", h))
resHash := []byte(fmt.Sprintf("res=%d", h))
commits[i] = keys.GenFullCommit(chainID, h, nil, vals, appHash, consHash, resHash, 0, len(keys))
commits[i] = keys.GenFullCommit(chainID, h, nil, vals, appHash, consHash, resHash, 0,
len(keys))
}
// initialize a certifier with the initial state


Loading…
Cancel
Save