Skip to content

Commit

Permalink
Changes post review III
Browse files Browse the repository at this point in the history
  • Loading branch information
area committed Apr 8, 2024
1 parent 92f496c commit 8a1a142
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions contracts/colonyNetwork/ColonyNetworkSkills.sol
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,9 @@ contract ColonyNetworkSkills is ColonyNetworkStorage, Multicall, CallWithGuards

bool success = callThroughBridgeWithGuards(payload);

if (success) {
emit ReputationUpdateSentToBridge(_colony, _updateNumber);
return;
}
require(success, "colony-network-bridge-tx-unsuccessful");

revert("colony-network-bridging-tx-unsuccessful");
emit ReputationUpdateSentToBridge(_colony, _updateNumber);
}

// Bridging (receiving)
Expand Down

0 comments on commit 8a1a142

Please sign in to comment.