Skip to content

fix(core-transactions): get locks attribute or empty object#3210

Closed
dated wants to merge 1 commit intoArkEcosystem:developfrom
dated:patch-2
Closed

fix(core-transactions): get locks attribute or empty object#3210
dated wants to merge 1 commit intoArkEcosystem:developfrom
dated:patch-2

Conversation

@dated
Copy link
Contributor

@dated dated commented Nov 5, 2019

Summary

Fixes #3212.

Checklist

  • Documentation (if necessary)
  • Tests (if necessary)
  • Ready to be merged

@ghost
Copy link

ghost commented Nov 5, 2019

Thanks for submitting this pull request! A maintainer will review this in the next few days and explicitly select labels so you know what's going on.

If no reviewer appears after a week, a reminder will be sent out.

@ghost ghost added Complexity: Low labels Nov 5, 2019
@spkjp
Copy link
Contributor

spkjp commented Nov 5, 2019

This isn't a proper fix, since having no lock during revert means the lock wasn't applied in the first place. In the linked issue the bug occurs in two different places, during a rollback and during wallet building as part of the bootstrap. The former should be fixed with #3155 since it reapplied the transactions in the wrong order at the end of a rollback which would lead to the issue described. The same seems to be the case for buildWallets during bootstrap.

@dated
Copy link
Contributor Author

dated commented Nov 5, 2019

Agreed. It was a dirty patch to get my node started. I didn't think this through obviously :) I was messing around with HTLCs at the time, I am now trying to reproduce the issue. Closing this.

@dated dated closed this Nov 5, 2019
@ghost
Copy link

ghost commented Nov 5, 2019

Your pull request has been closed, thank you for trying to solve an issue. If you think it was closed prematurely please provide additional information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants