Skip to content

Commit

Permalink
Release 0.5.0-rc3 (#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer authored Jul 26, 2020
1 parent b33b321 commit ae2b6ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions pkg/dag/transaction_root_snapshot_indexes.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package dag

import (
"bytes"
"fmt"

"github.com/gohornet/hornet/pkg/model/hornet"
"github.com/gohornet/hornet/pkg/model/milestone"
Expand Down Expand Up @@ -91,12 +90,16 @@ func GetTransactionRootSnapshotIndexes(cachedTx *tangle.CachedTransaction, lsmi
},
// called on missing approvees
func(approveeHash hornet.Hash) error {
return fmt.Errorf("missing approvee %v", approveeHash.Trytes())
// since this is also called for the future cone, there may be missing approvees
return tangle.ErrTransactionNotFound
},
// called on solid entry points
func(txHash hornet.Hash) {
updateIndexes(snapshotInfo.EntryPointIndex, snapshotInfo.EntryPointIndex)
}, true, false, nil); err != nil {
if err == tangle.ErrTransactionNotFound {
return 0, 0
}
panic(err)
}

Expand Down
2 changes: 1 addition & 1 deletion plugins/cli/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

var (
// AppVersion version number
AppVersion = "0.5.0-rc2"
AppVersion = "0.5.0-rc3"
LatestGithubVersion = AppVersion

// AppName app code name
Expand Down

0 comments on commit ae2b6ff

Please sign in to comment.