When I create OP_CSV transaction I need to set nSequence to the same number (in blocks) e.g.
3 OP_CHECKSEQUENCEVERIFY
nSequence = 3
But when I trying to spend this tx (after 3 blocks confirmation) I have to generate transaction with the same nSequence as parent.
Otherwise I'm getting error (when I'm trying to spend with different nSequence)
non-mandatory-script-verify-flag (Locktime requirement not satisfied) (code 64)
But I wont set the nSequence to child transaction, because, in this case, I can't spend immediately child transaction.
Do I need to set some flag or something?