CONSUME transaction


(Hendry Rodriguez) #1

I need help, i would like to know how to set a transaction in CONSUME, i have done like this: TransactionBuilder(notary)
.addInputState(StateAndRef(TransactionState(iouState, IOU_CONTRACT_ID, notary),
StateRef(SecureHash.parse(txHash), 0)))

but i’ve got error

Contract verification failed: List is empty., contract: com.token.contract.IOUContract@1db84746, transaction: 0F6012B03D48414A511F7EF7EB37148EAF4AFF1EBAB3193A872DE365331E733D