mirror of https://codeberg.org/pzp/pzp-db.git
just getTangle()
This commit is contained in:
parent
01cb78c65a
commit
5883e1df21
|
@ -292,9 +292,8 @@ exports.init = function initDB(peer, config) {
|
||||||
cb()
|
cb()
|
||||||
}
|
}
|
||||||
|
|
||||||
function getTangleDeletablesAndErasables(tangleId, msgHash) {
|
function getTangle(tangleId) {
|
||||||
const tangle = new Tangle(tangleId, records())
|
return new Tangle(tangleId, records())
|
||||||
return tangle.getDeletablesAndErasables(msgHash)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function* msgs() {
|
function* msgs() {
|
||||||
|
@ -323,7 +322,7 @@ exports.init = function initDB(peer, config) {
|
||||||
del,
|
del,
|
||||||
erase,
|
erase,
|
||||||
onRecordAdded,
|
onRecordAdded,
|
||||||
getTangleDeletablesAndErasables,
|
getTangle,
|
||||||
msgs,
|
msgs,
|
||||||
records,
|
records,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue