Skip to content

Commit

Permalink
cleaned up code
Browse files Browse the repository at this point in the history
  • Loading branch information
fametrano committed Nov 10, 2020
1 parent 3bb9c6b commit e105af3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions btclib/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,7 @@ def _op_int(token: int) -> bytes:


def _op_str(token: str) -> bytes:
token = token.strip()
token = token.upper()
token = token.strip().upper()
if token in OP_CODES:
return OP_CODES[token]
try:
Expand Down

0 comments on commit e105af3

Please sign in to comment.