Skip to content

Commit

Permalink
Merge pull request #303 from r-ush/fix/#304
Browse files Browse the repository at this point in the history
bridgenode/genproofs: add ignored error to the error message
  • Loading branch information
adiabat authored Aug 11, 2021
2 parents 21ea8ec + 0627424 commit f538bab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bridgenode/genproofs.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ func BuildProofs(cfg *Config, sig chan bool) error {
forest, height, knownTipHeight, err :=
InitBridgeNodeState(cfg, offsetFinished)
if err != nil {
err := fmt.Errorf("initialization error. If your .blk and .dat files are "+
"not in %s, specify alternate path with -datadir\n.", cfg.BlockDir)
return err
returnErr := fmt.Errorf("initialization error: %s.\nIf your .blk and .dat files are not in %s,"+
"specify alternate path with -datadir", err, cfg.BlockDir)
return returnErr
}

// async ttldb variables
Expand Down

0 comments on commit f538bab

Please sign in to comment.