Skip to content

Commit

Permalink
bridgenode/genproofs: add ignored error to the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sloorush committed Aug 4, 2021
1 parent fc7a3c4 commit 0627424
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 0627424

Please sign in to comment.