paul-schaaf/solana-escrow

Bob script fails

cleverchuk opened this issue · 0 comments

Running Bob script fails with below error. Any pointers for a fix?

Transaction simulation failed: Error processing Instruction 0: custom program error: 0x0
Program 4yBTZXsuz7c1X3PJF4PPCJr8G6HnNAgRvzAWVoFZMncH invoke [1]
Program 4yBTZXsuz7c1X3PJF4PPCJr8G6HnNAgRvzAWVoFZMncH consumed 1830 of 200000 compute units
Program 4yBTZXsuz7c1X3PJF4PPCJr8G6HnNAgRvzAWVoFZMncH failed: custom program error: 0x0
solana-escrow-master/scripts/node_modules/@solana/web3.js/lib/index.cjs.js:4964
throw new SendTransactionError('failed to send transaction: ' + res.error.message, logs);
^

SendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: custom program error: 0x0
at Connection.sendEncodedTransaction (solana-escrow-master/scripts/node_modules/@solana/web3.js/lib/index.cjs.js:4964:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Connection.sendRawTransaction (solana-escrow-master/scripts/node_modules/@solana/web3.js/lib/index.cjs.js:4923:20)
at async Connection.sendTransaction (solana-escrow-master/scripts/node_modules/@solana/web3.js/lib/index.cjs.js:4913:12) {
logs: [
'Program 4yBTZXsuz7c1X3PJF4PPCJr8G6HnNAgRvzAWVoFZMncH invoke [1]',
'Program 4yBTZXsuz7c1X3PJF4PPCJr8G6HnNAgRvzAWVoFZMncH consumed 1830 of 200000 compute units',
'Program 4yBTZXsuz7c1X3PJF4PPCJr8G6HnNAgRvzAWVoFZMncH failed: custom program error: 0x0'
]
}