Skip to content

Commit

Permalink
fix(core/btc/ordinal): remove the err check after next finished
Browse files Browse the repository at this point in the history
  • Loading branch information
Gkirito committed Apr 2, 2024
1 parent c97bcbd commit ceb6e1e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions core/btc/ordinal/ordinals.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,5 @@ func DecodeOrdFromWitness(witness []byte) (*Ord, error) {
Content: content,
}, nil
}
if tokenizer.Err() != nil {
return nil, tokenizer.Err()
}
return nil, errors.New("not found ord")
}

0 comments on commit ceb6e1e

Please sign in to comment.