Skip to content

Commit

Permalink
missed an error that could be returned
Browse files Browse the repository at this point in the history
  • Loading branch information
crodriguezvega committed Aug 29, 2024
1 parent 87cd2a0 commit 644d8a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/proof.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ func leftBranchesAreEmpty(spec *InnerSpec, op *InnerOp) (bool, error) {
func rightBranchesAreEmpty(spec *InnerSpec, op *InnerOp) (bool, error) {
idx, err := orderFromPadding(spec, op)
if err != nil {
return false, nil
return false, err
}
// count branches to right of this one
rightBranches := len(spec.ChildOrder) - 1 - int(idx)
Expand Down

0 comments on commit 644d8a2

Please sign in to comment.