@bananapus/core-v6 0.0.20 → 0.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bananapus/core-v6",
3
- "version": "0.0.20",
3
+ "version": "0.0.21",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -62,10 +62,10 @@ library JBPayoutSplitGroupLib {
62
62
  {
63
63
  // The total percentage available to split.
64
64
  uint256 leftoverPercentage = JBConstants.SPLITS_TOTAL_PERCENT;
65
- uint256 group = uint256(uint160(token));
66
65
 
67
66
  // Get a reference to the project's payout splits.
68
- JBSplit[] memory payoutSplits = splits.splitsOf({projectId: projectId, rulesetId: rulesetId, groupId: group});
67
+ JBSplit[] memory payoutSplits =
68
+ splits.splitsOf({projectId: projectId, rulesetId: rulesetId, groupId: uint256(uint160(token))});
69
69
 
70
70
  leftoverAmount = amount;
71
71
 
@@ -102,7 +102,7 @@ library JBPayoutSplitGroupLib {
102
102
  emit SendPayoutToSplit({
103
103
  projectId: projectId,
104
104
  rulesetId: rulesetId,
105
- group: group,
105
+ group: uint256(uint160(token)),
106
106
  split: split,
107
107
  amount: payoutAmount,
108
108
  netAmount: netPayoutAmount,