index.js
function findLastSeed (epoc, cb2) {
    if (epoc === 0) {
      return cb2(ethUtil.zeros(32), 0)
    }

    self.cacheDB.get(epoc, self.dbOpts, function (err, data) {
      if (!err) {
        cb2(data.seed, epoc)
      } else {
        findLastSeed(epoc - 1, cb2)
      }
    })
  }
function findLastSeed (epoc, cb2) {
    if (epoc === 0) {
      return cb2(ethUtil.zeros(32), 0)
    }

    self.cacheDB.get(epoc, self.dbOpts, function (err, data) {
      if (!err) {
        cb2(data.seed, epoc)
      } else {
        findLastSeed(epoc - 1, cb2)
      }
    })
  }
function findLastSeed ( epoc , cb2 ) { if ( epoc === 0 ) { return cb2 ( ethUtil . zeros ( 32 ) , 0 ) } self . cacheDB . get ( epoc , self . dbOpts , function ( err , data ) { if ( ! err ) { cb2 ( data . seed , epoc ) } else { findLastSeed ( epoc - 1 , cb2 ) } } ) }
gives the seed the first epoc found
gives the seed the first epoc found