mirror of
https://github.com/status-im/contracts.git
synced 2025-02-23 12:08:47 +00:00
small fix
This commit is contained in:
parent
a7bb3b2683
commit
74c5c98bb6
@ -80,7 +80,7 @@ contract EmojiBoard {
|
|||||||
ERC20Token token = ERC20Token(feeRecycler.token());
|
ERC20Token token = ERC20Token(feeRecycler.token());
|
||||||
require(token.transferFrom(_from, address(this), _value));
|
require(token.transferFrom(_from, address(this), _value));
|
||||||
token.approve(feeRecycler, _value);
|
token.approve(feeRecycler, _value);
|
||||||
feeRecycler.lock(_from, _value);
|
feeRecycler.collectFrom(_from, _value);
|
||||||
|
|
||||||
for (uint i; i < len; i++) {
|
for (uint i; i < len; i++) {
|
||||||
emojiRating[keccak256(_to,_emojiUnicode[i])] += _value; //divided by len? safeadd?
|
emojiRating[keccak256(_to,_emojiUnicode[i])] += _value; //divided by len? safeadd?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user