diff --git a/index.html b/index.html
index 2f8dbda..7941613 100644
--- a/index.html
+++ b/index.html
@@ -1011,7 +1011,7 @@
Welcome to BitVM Online
Otherwise, act as the verifier to take the money by producing the error
Pick a program you want to run
-
+
Zero checker
@@ -1266,6 +1266,7 @@ Zero checker
vickys_key = $( '.vickys_key' ).value;
}
$( '.submit_all_or_none' ).onclick = () => {
+ promise = $( '.all_or_none' ).value;
if ( promise == "All 0s" ) {
output_preimages = [ subsequent_commitment_preimages[ subsequent_commitment_preimages.length - 1 ][ 1 ] ];
} else {
@@ -1285,7 +1286,6 @@ Zero checker
$( '.zero_checker_step_one' ).classList.add( "hidden" );
$( '.zero_checker_step_two' ).classList.add( "hidden" );
$( '.zero_checker_step_three' ).classList.remove( "hidden" );
- promise = $( '.all_or_none' ).value;
$( '.step_six_promise_to_vicky' ).innerText = promise;
bit_commitment_address = generateBitCommitmentAddress( pubkey );
anti_contradiction_address = generateAntiContradictionAddress( pubkey );
@@ -1309,6 +1309,7 @@ Zero checker
$( '.zero_checker_step_three' ).classList.add( "hidden" );
$( '.zero_checker_step_four' ).classList.remove( "hidden" );
$( '.funding_address_in_step_four' ).innerText = starter_address;
+ console.log( "starter address:", starter_address );
await waitSomeSeconds( 3 );
var txid = prompt( `What was the txid?` );
var vout = prompt( `And the vout?` );
@@ -1478,7 +1479,8 @@ Zero checker
var i; for ( i=0; i