function doGetLink(base, tag) {
  // get the tag from the base in the DHT
  var links = getLinks(base, tag, { Load: false });
  // debug("Links:"+JSON.stringify(links));
  var links_filled = [];
  for (var i = 0; i < links.length; i++) {
    links_filled.push(links[i].Hash);
  }
  return links_filled;
}
// helper function to call getLinks, handle the no links entry error, and build a simpler links array.
helper function to call getLinks, handle the no links entry error, and build a simpler links array.
helper function to call getLinks handle the no links entry error and build a simpler links array .
function doGetLink(base, tag) {
  var links = getLinks(base, tag, { Load: false });
  var links_filled = [];
  for (var i = 0; i < links.length; i++) {
    links_filled.push(links[i].Hash);
  }
  return links_filled;
}
function doGetLink ( base , tag ) { var links = getLinks ( base , tag , { Load : false } ) ; var links_filled = [ ] ; for ( var i = 0 ; i < links . length ; i ++ ) { links_filled . push ( links [ i ] . Hash ) ; } return links_filled ; }
helper function to call getLinks, handle the no links entry error, and build a simpler links array.
helper function to call getLinks handle the no links entry error and build a simpler links array .
// get the tag from the base in the DHT // debug("Links:"+JSON.stringify(links));