-
Notifications
You must be signed in to change notification settings - Fork 11.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
using SafeERC20 to implement safeTransfer in Crowdsale #1006
using SafeERC20 to implement safeTransfer in Crowdsale #1006
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM save for one unnecessary input. Thank you @dougiebuckets!
contracts/crowdsale/Crowdsale.sol
Outdated
@@ -2,6 +2,8 @@ pragma solidity ^0.4.24; | |||
|
|||
import "../token/ERC20/ERC20.sol"; | |||
import "../math/SafeMath.sol"; | |||
import "../token/ERC20/ERC20Basic.sol"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This new import
is not necessary.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Leaving my +1 too, but we'll wait for you to remove the import before merging.
c3f1c73
to
bd6241a
Compare
bd6241a
to
6c4ef3d
Compare
One more thing @dougiebuckets. There is a file .node-xmlhttprequest-sync-7601, can you please remove it? |
Good catch, @ElOpio. Thank you. Update made. |
Thanks @dougiebuckets! |
…1006) * introduced safeTransfer to Crowdsale * Removed .node-xmlhttprequest-sync-7601
Fixes #985
🚀 Description
Introduced safeTransfer to Crowdsale. Opened new pull request b/c I accidently closed this one: #985
npm run lint:all:fix
).