MCPcopy Create free account
hub / github.com/CashScript/cashscript / carolUnlocker

Function carolUnlocker

packages/cashscript/test/TransactionBuilder.test.ts:320–322  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

318
319 describe('change output management', () => {
320 const carolUnlocker = (): ReturnType<typeof p2pkhInstance.unlock.spend> => (
321 p2pkhInstance.unlock.spend(carolPub, new SignatureTemplate(carolPriv))
322 );
323
324 describe('BCH change lock', () => {
325 it('should prevent further inputs or outputs after a BCH change output was added', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected