New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot unlock already spent output #12738
Comments
IMO after
Because at this point it is not an unspent and it's not listed in Therefore |
They are different situations:
|
I don't think the fix is to reintroduce the old behavior. As you said:
And the call is |
fd9b3a7 test: Output should be unlocked when spent (João Barbosa) 54c3bb4 wallet: Unlock spent outputs (João Barbosa) Pull request description: Fixes bitcoin#12738. Tree-SHA512: 2c1694727aea0c658d07566c7d11d7afe91218053f84d568fac97413348fa5a977243d6cdeebd1c6550816489e35cb3a31667c8354d9b350de99f979d641d605
fd9b3a7 test: Output should be unlocked when spent (João Barbosa) 54c3bb4 wallet: Unlock spent outputs (João Barbosa) Pull request description: Fixes bitcoin#12738. Tree-SHA512: 2c1694727aea0c658d07566c7d11d7afe91218053f84d568fac97413348fa5a977243d6cdeebd1c6550816489e35cb3a31667c8354d9b350de99f979d641d605
fd9b3a7 test: Output should be unlocked when spent (João Barbosa) 54c3bb4 wallet: Unlock spent outputs (João Barbosa) Pull request description: Fixes bitcoin#12738. Tree-SHA512: 2c1694727aea0c658d07566c7d11d7afe91218053f84d568fac97413348fa5a977243d6cdeebd1c6550816489e35cb3a31667c8354d9b350de99f979d641d605
fd9b3a7 test: Output should be unlocked when spent (João Barbosa) 54c3bb4 wallet: Unlock spent outputs (João Barbosa) Pull request description: Fixes bitcoin#12738. Tree-SHA512: 2c1694727aea0c658d07566c7d11d7afe91218053f84d568fac97413348fa5a977243d6cdeebd1c6550816489e35cb3a31667c8354d9b350de99f979d641d605
fd9b3a7 test: Output should be unlocked when spent (João Barbosa) 54c3bb4 wallet: Unlock spent outputs (João Barbosa) Pull request description: Fixes bitcoin#12738. Tree-SHA512: 2c1694727aea0c658d07566c7d11d7afe91218053f84d568fac97413348fa5a977243d6cdeebd1c6550816489e35cb3a31667c8354d9b350de99f979d641d605
fd9b3a7 test: Output should be unlocked when spent (João Barbosa) 54c3bb4 wallet: Unlock spent outputs (João Barbosa) Pull request description: Fixes bitcoin#12738. Tree-SHA512: 2c1694727aea0c658d07566c7d11d7afe91218053f84d568fac97413348fa5a977243d6cdeebd1c6550816489e35cb3a31667c8354d9b350de99f979d641d605
fd9b3a7 test: Output should be unlocked when spent (João Barbosa) 54c3bb4 wallet: Unlock spent outputs (João Barbosa) Pull request description: Fixes bitcoin#12738. Tree-SHA512: 2c1694727aea0c658d07566c7d11d7afe91218053f84d568fac97413348fa5a977243d6cdeebd1c6550816489e35cb3a31667c8354d9b350de99f979d641d605
When using the
lockunspent
RPC method to prevent concurrency when creating raw transactions, after spending a locked output it is impossible to remove that output from locked unspent list due to an issue introduced in this PR #11087.Example:
The expected output was:
The text was updated successfully, but these errors were encountered: