open-web3-stack / open-runtime-module-library

Substrate Open Runtime Module Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: reducable balance should incorporate ED in case of Preservation::Preserve mode

dmoka opened this issue · comments

Description

In the implementation of the reducable_balance you return the liquid balance when the preservation is not Preservation::Protect.

I think this is a bug, and we should return liquid balance when preservation mode is neither Protect or 'Preserve'.

Right. Do you mind opening a quick PR to fix it?

Right. Do you mind opening a quick PR to fix it?

Thanks for the quick validation. Sure, I can pick it up.