wallet.js
function(){
					console.log("handleOnlinePrivatePayment queued, will wait for "+key);
					eventBus.once(key, function(bValid){
						if (!bValid)
							return cancelAllKeys();
						assocValidatedByKey[key] = true;
						if (bParsingComplete)
							checkIfAllValidated();
						else
							console.log('parsing incomplete yet');
					});
					cb();
				}
function(){
					console.log("handleOnlinePrivatePayment queued, will wait for "+key);
					eventBus.once(key, function(bValid){
						if (!bValid)
							return cancelAllKeys();
						assocValidatedByKey[key] = true;
						if (bParsingComplete)
							checkIfAllValidated();
						else
							console.log('parsing incomplete yet');
					});
					cb();
				}
function ( ) { console . log ( "handleOnlinePrivatePayment queued, will wait for " + key ) ; eventBus . once ( key , function ( bValid ) { if ( ! bValid ) return cancelAllKeys ( ) ; assocValidatedByKey [ key ] = true ; if ( bParsingComplete ) checkIfAllValidated ( ) ; else console . log ( 'parsing incomplete yet' ) ; } ) ; cb ( ) ; }
this is the most likely outcome for light clients
this is the most likely outcome for light clients