From 2a526d37d9fa5c5c0d631c44d17971cb3aa80980 Mon Sep 17 00:00:00 2001 From: Gokul Alex Date: Fri, 28 Aug 2020 03:26:07 +0530 Subject: [PATCH] Update BloodBankRegistry.sol --- sanguinet-bloodbankregistry/contracts/BloodBankRegistry.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sanguinet-bloodbankregistry/contracts/BloodBankRegistry.sol b/sanguinet-bloodbankregistry/contracts/BloodBankRegistry.sol index 66bc9a7..6e5437e 100644 --- a/sanguinet-bloodbankregistry/contracts/BloodBankRegistry.sol +++ b/sanguinet-bloodbankregistry/contracts/BloodBankRegistry.sol @@ -26,8 +26,7 @@ contract BloodBankRegistry { require(msg.value >= _amount); _; } - function IsRegistryValid( ) public payable - onlyAfter(creationTime + 1 minutes) { + function IsRegistryValid ( ) onlyAfter(creationTime + 1 minutes) public returns (bool) { return true; } }