Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vochain/indexer/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func (idx *Indexer) Close() error {
return nil
}

// BackupPath restores the database from a backup created via SaveBackup.
// RestoreBackup restores the database from a backup created via SaveBackup.
// Note that this must be called with ExpectBackupRestore set to true,
// and before any indexing or queries happen.
func (idx *Indexer) RestoreBackup(path string) error {
Expand Down
2 changes: 1 addition & 1 deletion vochain/vote_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"google.golang.org/protobuf/proto"
)

// testCreateKeysAndBuildCensus creates a bunch of random keys and a new zk
// testCreateKeysAndBuildWeightedZkCensus creates a bunch of random keys and a new zk
// friendly census tree (using Poseidon as tree hash and the weight provided as
// leaf value). It returns the keys, the census root and the proofs for each key.
func testCreateKeysAndBuildWeightedZkCensus(t *testing.T, size int, weight *big.Int) ([]*ethereum.SignKeys, []byte, [][]byte) {
Expand Down