Skip to content

Commit 1072898

Browse files
committed
fix issue #27
1 parent 639a89d commit 1072898

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contracts/virtualPersona/AgentToken.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,9 @@ contract AgentToken is
476476
projectBuyTaxBasisPoints = newProjectBuyTaxBasisPoints_;
477477
projectSellTaxBasisPoints = newProjectSellTaxBasisPoints_;
478478

479+
_tokenHasTax =
480+
(projectBuyTaxBasisPoints + projectSellTaxBasisPoints) > 0;
481+
479482
emit ProjectTaxBasisPointsChanged(
480483
oldBuyTaxBasisPoints,
481484
newProjectBuyTaxBasisPoints_,

0 commit comments

Comments
 (0)