MCPcopy
hub / github.com/bcoin-org/bcoin / fromStack

Method fromStack

lib/script/script.js:254–256  ·  view source on GitHub ↗

* Inject data from stack. * @private * @param {Stack} stack * @returns {Script}

(stack)

Source from the content-addressed store, hash-verified

252 */
253
254 fromStack(stack) {
255 return this.fromItems(stack.items);
256 }
257
258 /**
259 * Instantiate script from stack.

Callers 2

scriptInputMethod · 0.45
signInputMethod · 0.45

Calls 1

fromItemsMethod · 0.95

Tested by

no test coverage detected