replace pinned.js with low-profile streaming implementation

This commit is contained in:
ansuz
2020-02-13 17:46:10 -05:00
parent 609eddc9e1
commit 3dc789cbca
4 changed files with 38 additions and 6 deletions

View File

@@ -9,7 +9,6 @@ const Nacl = require("tweetnacl/nacl-fast");
const Util = require("../common-util");
const nThen = require("nthen");
const Saferphore = require("saferphore");
const Pinned = require('../../scripts/pinned');
//const escapeKeyCharacters = Util.escapeKeyCharacters;
const unescapeKeyCharacters = Util.unescapeKeyCharacters;
@@ -432,7 +431,7 @@ Pinning.getDeletedPads = function (Env, channels, cb) {
// inform that the
Pinning.loadChannelPins = function (Env) {
Pinned.load(function (err, data) {
Pins.list(function (err, data) {
if (err) {
Env.Log.error("LOAD_CHANNEL_PINS", err);