File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 1313
1414load_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
2119async def handle_transaction (update : Update , context : ContextTypes .DEFAULT_TYPE ) -> None :
@@ -44,7 +42,7 @@ async def send_to_server(message):
4442
4543def 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 ):
You can’t perform that action at this time.
0 commit comments