mirror of https://codeberg.org/pzp/pzp-db.git
refactor: remove unreachable code in MsgV3
This commit is contained in:
parent
ae122c815e
commit
accc41a68c
|
@ -160,9 +160,6 @@ function create(opts) {
|
|||
const prev = [...union(lipmaaSet, tangle.tips)].sort()
|
||||
tangles[rootID] = { depth, prev }
|
||||
}
|
||||
} else {
|
||||
// prettier-ignore
|
||||
throw new Error(`cannot create msg without tangles, that's the case for createMoot()`)
|
||||
}
|
||||
|
||||
/** @type {Msg} */
|
||||
|
|
Loading…
Reference in New Issue