Skip to content

Commit

Permalink
[x/merkledb] Remove useless err check (ava-labs#1650)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-ogrady authored Jun 23, 2023
1 parent 607489d commit a056efc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions x/merkledb/trieview.go
Original file line number Diff line number Diff line change
Expand Up @@ -1052,8 +1052,6 @@ func (t *trieView) insertIntoTrie(
)
newNode.setValue(value)
return newNode, t.recordNodeChange(newNode)
} else if err != nil {
return nil, err
}

// if we have reached this point, then the [fullpath] we are trying to insert and
Expand Down

0 comments on commit a056efc

Please sign in to comment.