Lockunspent remains unspent even after use

0 votes
Hi,

When I call preparelockunspent command with parameters like: asset1, 100 the requested amount is locked as correctly shown by listlockunspent command.

However if I try to use the output of this locking tx with the following commands: createrawtransaction, signrawtransaction and sendrawtransaction, the transaction is created and committed, but the listlockunspent command still lists the same amount as locked.

Which is wrong, because the asset balance is updated to the value previous to the locking. Also I can transfer all of asset1 to another node without problem -> on node1 the balance of asset1 will be 0 but listlockunspent command still shows locked amount of 100 of asset1.

Thanks
asked Oct 5, 2015 by Miklos

1 Answer

0 votes

Thanks for the report - we'll check into it. But just to confirm, are you certain the transaction was actually sent? Because the behavior you describe would match what I'd expect if sendrawtransaction didn't complete.

answered Oct 5, 2015 by MultiChain
...