Update index.html
This commit is contained in:
1 parent
743eefcb2d
commit
1aaee3e390
1 file changed
+4
-4
+4
-4
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user