diff --git a/contracts/autonomous-admin/DecentAutonomousAdminV1.sol b/contracts/autonomous-admin/DecentAutonomousAdminV1.sol index 3588fc2..1915b79 100644 --- a/contracts/autonomous-admin/DecentAutonomousAdminV1.sol +++ b/contracts/autonomous-admin/DecentAutonomousAdminV1.sol @@ -30,7 +30,9 @@ contract DecentAutonomousAdminV1 is // This will burn the hat since wearer is no longer eligible args.hatsProtocol.checkHatWearerStatus(args.hatId, args.currentWearer); // This will mint the hat to the nominated wearer - args.hatsProtocol.mintHat(args.hatId, args.nominatedWearer); + if (args.nominatedWearer != args.currentWearer) { + args.hatsProtocol.mintHat(args.hatId, args.nominatedWearer); + } } function supportsInterface(