(
node: AppNode | undefined,
mainScriptHash: string = this.mainScriptHash
)
| 301 | } |
| 302 | |
| 303 | private ensureBlockNode( |
| 304 | node: AppNode | undefined, |
| 305 | mainScriptHash: string = this.mainScriptHash |
| 306 | ): BlockNode { |
| 307 | return (node as BlockNode) ?? new BlockNode(mainScriptHash) |
| 308 | } |
| 309 | |
| 310 | /** |
| 311 | * Clears all nodes that are not associated with the mainScriptHash. |
no outgoing calls
no test coverage detected