lib/broadcast.js
function(response) {
      delete self._requestState[transactionId];
      if (typeof callback === 'function') {
        // negative response
        if (response.error) {
          var owner = response.answerRecords[0].nb.entries[0].address;
          callback(null, false, owner);

        // positive response
        } else {
          // ignore as this should not happen for 'broadcast' nodes
        }
      }
    }
function(response) {
      delete self._requestState[transactionId];
      if (typeof callback === 'function') {
        // negative response
        if (response.error) {
          var owner = response.answerRecords[0].nb.entries[0].address;
          callback(null, false, owner);

        // positive response
        } else {
          // ignore as this should not happen for 'broadcast' nodes
        }
      }
    }
function ( response ) { delete self . _requestState [ transactionId ] ; if ( typeof callback === 'function' ) { // negative response if ( response . error ) { var owner = response . answerRecords [ 0 ] . nb . entries [ 0 ] . address ; callback ( null , false , owner ) ; // positive response } else { // ignore as this should not happen for 'broadcast' nodes } } }
In broadcast mode if we get a response then that means someone is disputing our claim to this name.
In broadcast mode if we get a response then that means someone is disputing our claim to this name .