fix: check if nextIssuableOn < blocNumber

This commit is contained in:
poka 2022-06-05 14:44:18 +02:00
parent 684974cd59
commit bd87aee7ec
1 changed files with 1 additions and 1 deletions

View File

@ -576,7 +576,7 @@ class SubstrateSdk with ChangeNotifier {
_removableOn.toString() +
'\n' +
_nextIssuableOn.toString());
if (_renewableOn == 0 && _nextIssuableOn == 0) {
if (_renewableOn == 0 && _nextIssuableOn < blocNumber) {
return true;
}
}