GetCurrentClaim returns new claim containing unsubmitted shares. If there is no new shares, it returns nil.
(threshold int)
| 106 | // GetCurrentClaim returns new claim containing unsubmitted shares. If there |
| 107 | // is no new shares, it returns nil. |
| 108 | func (sp *SmartPool) GetCurrentClaim(threshold int) smartpool.Claim { |
| 109 | return sp.ClaimRepo.GetCurrentClaim(threshold) |
| 110 | } |
| 111 | |
| 112 | func (sp *SmartPool) GetVerificationIndex(claim smartpool.Claim) *big.Int { |
| 113 | return sp.Contract.GetShareIndex(claim) |
no test coverage detected