pull/3970/head
Rongjian Lan 3 years ago committed by GitHub
parent 231729f116
commit 326a00b935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      rpc/blockchain.go

@ -705,7 +705,7 @@ func (s *PublicBlockchainService) GetProof(
}
}()
err = s.wait(ctx)
err = s.wait(s.limiter, ctx)
if err != nil {
return
}
@ -790,7 +790,7 @@ func (s *PublicBlockchainService) GetHeaderByNumberRLPHex(
timer := DoMetricRPCRequest(GetHeaderByNumberRLPHex)
defer DoRPCRequestDuration(GetHeaderByNumberRLPHex, timer)
err := s.wait(ctx)
err := s.wait(s.limiter, ctx)
if err != nil {
DoMetricRPCQueryInfo(GetHeaderByNumberRLPHex, FailedNumber)
return "", err

Loading…
Cancel
Save