Skip to content
Snippets Groups Projects
Commit bd87aee7 authored by poka's avatar poka
Browse files

fix: check if nextIssuableOn < blocNumber

parent 684974cd
No related branches found
No related tags found
No related merge requests found
...@@ -576,7 +576,7 @@ class SubstrateSdk with ChangeNotifier { ...@@ -576,7 +576,7 @@ class SubstrateSdk with ChangeNotifier {
_removableOn.toString() + _removableOn.toString() +
'\n' + '\n' +
_nextIssuableOn.toString()); _nextIssuableOn.toString());
if (_renewableOn == 0 && _nextIssuableOn == 0) { if (_renewableOn == 0 && _nextIssuableOn < blocNumber) {
return true; return true;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment