Submitted by carlitox477
The current implementation forces a user to extend their bonds for at least they current bond period. This means that, for instance, a bond which was initially locked for 365 can never be extended, even after a week of being created.
If we consider that a bond should have at least a 7 days lock and at the most 365 days, then the current BondNFT.extendLock function should be refactored.
In order to extendLock to work properly, the current implementation  should be changed to:
Alex the Entreprenerd (judge) commented:
GainsGoblin (Tigris Trade) confirmed and  commented:
