mirror of
https://github.com/aljazceru/ark.git
synced 2026-02-01 01:24:39 +01:00
Hotfix GetRound validation check (#67)
This commit is contained in:
committed by
GitHub
parent
dec11f9773
commit
a2d8149692
@@ -110,7 +110,7 @@ func (h *handler) Faucet(ctx context.Context, req *arkv1.FaucetRequest) (*arkv1.
|
||||
}
|
||||
|
||||
func (h *handler) GetRound(ctx context.Context, req *arkv1.GetRoundRequest) (*arkv1.GetRoundResponse, error) {
|
||||
if req.GetTxid() != "" {
|
||||
if len(req.GetTxid()) <= 0 {
|
||||
return nil, status.Error(codes.InvalidArgument, "missing pool txid")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user