XRPL-Labs / xrpld-hooks

ISC License
94 stars 28 forks source link

Reserve doesn't decrease when a state object is deleted in the hook. #27

Closed SavindaSenevirathne closed 1 year ago

SavindaSenevirathne commented 2 years ago

Issue Description

Account reserve doesn't decrease when a state objected is deleted from the hook. The OwnerCount seems not changing as well.

Steps to Reproduce

Sample code: state_delete_reserve.zip

Expected Result

Account reserve should decreased by 5 XRP per object deletion.

Actual Result

Account reserve doesn't change when a state object is deleted.

RichardAH commented 1 year ago

Is this still the case?

chalith commented 1 year ago

Now this works fine, issue is not there @RichardAH. Can close the issue.