Skip to content
Permalink
Browse files

Fix incorrect variable assignment

  • Loading branch information
TimviOfficial committed Nov 14, 2019
1 parent d589cd1 commit 2bd5a7fd1fba883560fc8625c67b7b7c9cea51b1
Showing with 1 addition and 1 deletion.
  1. +1 −1 contracts/services/bond/BondService.sol
@@ -296,7 +296,7 @@ contract BondService {
}

function changeYearFee(uint256 _id, uint256 _yearFee) internal {
uint256 _oldYearFee = bonds[_id].expiration;
uint256 _oldYearFee = bonds[_id].yearFee;
if (_oldYearFee != _yearFee) {
require(_yearFee <= 10000, "Fee out of range");
bonds[_id].yearFee = _yearFee;

0 comments on commit 2bd5a7f

Please sign in to comment.
You can’t perform that action at this time.