Permalink
Browse files

Добавлена проверка на id транзакции в методе externalBuy

  • Loading branch information...
Alexander Veynik
Alexander Veynik committed Jan 16, 2018
1 parent 34b36a5 commit 29e6e47f18a8b0f13d06c07a4d596844b800f22e
Showing with 2 additions and 0 deletions.
  1. +2 −0 contracts/AllocatedCappedCrowdsale.sol
@@ -529,6 +529,8 @@ contract AllocatedCappedCrowdsale is Haltable, ValidationUtil {
* Покупка токенов через внешние системы
*/
function externalBuy(address buyerAddress, uint weiAmount, uint txId) external onlyOwner {
require(txId != 0);

internalInvest(buyerAddress, weiAmount, txId);
}

0 comments on commit 29e6e47

Please sign in to comment.