refactor: remove unreachable code in MsgV3

This commit is contained in:
Andre Staltz 2023-11-13 15:33:03 +02:00
parent ae122c815e
commit accc41a68c
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 0 additions and 3 deletions

View File

@ -160,9 +160,6 @@ function create(opts) {
const prev = [...union(lipmaaSet, tangle.tips)].sort() const prev = [...union(lipmaaSet, tangle.tips)].sort()
tangles[rootID] = { depth, prev } tangles[rootID] = { depth, prev }
} }
} else {
// prettier-ignore
throw new Error(`cannot create msg without tangles, that's the case for createMoot()`)
} }
/** @type {Msg} */ /** @type {Msg} */