Skip to content

Commit 90c4bc4

Browse files
committed
minor changes
1 parent 81df6b3 commit 90c4bc4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

grouphug.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313

1414
load_dotenv()
1515

16-
async def handle_transaction(
17-
update: Update, context: ContextTypes.DEFAULT_TYPE
18-
-> None:
16+
async def start(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
1917
await update.message.reply_text("Send me a Bitcoin transaction in raw format")
2018

2119
async def handle_transaction(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None:
@@ -44,7 +42,7 @@ async def send_to_server(message):
4442

4543
def validate_transaction(tx_raw):
4644
# Strip and remove all spaces
47-
tx_raw = tx_raw.strip().replace(' ', '')
45+
#tx_raw = tx_raw.strip().replace(' ', '')
4846

4947
# Check if all characters are valid hexadecimal
5048
if any(c not in "0123456789abcdefABCDEF" for c in tx_raw):

0 commit comments

Comments
 (0)