Skip to content

Commit

Permalink
Merge pull request #39 from icon-project/set-fee-sharing
Browse files Browse the repository at this point in the history
Apply setFeeSharingProportion to BMVs
  • Loading branch information
sink772 authored Dec 21, 2023
2 parents 0027797 + d9fc4a1 commit b8939f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ public byte[][] handleRelayMessage(String _bmc, String _prev, BigInteger _seq, b
for (MessageEvent msg : msgs) {
ret[i++] = msg.getMessage();
}
Context.setFeeSharingProportion(100);
return ret;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public byte[][] handleRelayMessage(String _bmc, String _prev, BigInteger _seq, b
ret[i] = msgList.get(i);
}
}
Context.setFeeSharingProportion(100);
return ret;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,10 @@ public byte[][] handleRelayMessage(String _bmc, String _prev, BigInteger _seq, b
}
var retSize = msgList.size();
var ret = new byte[retSize][];
for (int i = 0; i < retSize; i ++)
for (int i = 0; i < retSize; i++) {
ret[i] = msgList.get(i);
}
Context.setFeeSharingProportion(100);
return ret;
}

Expand Down

0 comments on commit b8939f5

Please sign in to comment.