paul-schaaf/solana-escrow

Error processing Instruction 0

heymike-sol opened this issue · 2 comments

It seems that I created everything correctly. Created all needed accounts. Escrow init was ok:

Escrow account: Aaoz8PEUppzV9mP5D22kXZmvu7PGQDEB3MmYAmuEQ6JC
Decoded State
Is initialized: true
Initializer account: 6xBPTVQpxcfR7eDkmzLg1LVzs9ULgk1hFVLArFcH3JkQ
X token temp account: BHJt5LbyfY8U3HpdPLrbT5BX7xzQm8bu5cfzJ7cXs4h3
Initializer Y token account: 9epPAbwZKkQFRaGrDJgiYHbr9fmDgpwemCN8La9pVZW4
ExpectedAmount: 4

But when I try to proceed with Bob's transaction, I always receive "Error processing Instruction 0: custom program error: 0x2".

failed to send transaction: Transaction simulation failed: Error processing Instruction 0: custom program error: 0x2

Please help me.

Hi @timashov!

What are the steps you have taken so far to debug this? Have you compared your program code to the reference implementation (i.e. this repo)?

im closing this issue because of inactivity