From 1aaee3e3907aa8461991ac6fa2462213523d5df1 Mon Sep 17 00:00:00 2001 From: supertestnet <58400631+supertestnet@users.noreply.github.com> Date: Mon, 22 Dec 2025 19:40:56 +0000 Subject: [PATCH] Update index.html --- index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 6bf054d..01332cf 100644 --- a/index.html +++ b/index.html @@ -2582,6 +2582,10 @@ var reason_why_tx_is_invalid = await testnet_generator.validateTx( txhex ); if ( reason_why_tx_is_invalid ) return reason_why_tx_is_invalid; } + if ( privkey ) { + var event = await super_nostr.prepEvent( privkey, "", 40427 ); + super_nostr.sendEvent( event, relay ); + } testnet_generator.mempool.push( txhex ); var txid = tapscript.Tx.util.getTxid( txhex ); $( '.broadcast_success_label' ).classList.remove( "hidden" ); @@ -3036,10 +3040,6 @@ if ( json.msg_type === "broadcast" ) { var txhex = json.msg_value; var txid_or_error = await testnet_generator.broadcast( txhex ); - if ( testnet_generator.isValidHex( txid_or_error ) ) { - var event = await super_nostr.prepEvent( privkey, "", 40427 ); - super_nostr.sendEvent( event, relay ); - } var message = JSON.stringify({ msg_type: "broadcast_reply", msg_value: txid_or_error,