Skip to content
This repository was archived by the owner on Jun 17, 2025. It is now read-only.
This repository was archived by the owner on Jun 17, 2025. It is now read-only.

Demo script fails with a tabulated funds mismatch error #10

@cmdruid

Description

@cmdruid

The current demo script (running on mutiny) fails with the following error:

Error: tabulated funds count does not match contract
    at Module.ok (/home/cscott/Projects/bitescrow/escrow-core/src/core/util/assert.ts:9:11)
    at verify_contract_funding (/home/cscott/Projects/bitescrow/escrow-core/src/core/validation/contract.ts:137:10)
    at verify_contract_session (/home/cscott/Projects/bitescrow/escrow-core/src/core/validation/contract.ts:254:5)
    at Object.verify (/home/cscott/Projects/bitescrow/escrow-core/src/client/api/client/contract.ts:131:5)
    at <anonymous> (/home/cscott/Projects/bitescrow/escrow-core/demo/10_settle_contract.ts:28:17)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Running through the demo process manually still works.

There's likely a problem somewhere in the demo script itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions