only log eth-rpc result if internal-tx-id is present
This commit is contained in:
parent
05b953fe84
commit
687f29a591
|
@ -172,7 +172,9 @@
|
||||||
(when internal-tx-id
|
(when internal-tx-id
|
||||||
(log/infof "%s: eth-rpc %s" internal-tx-id method))
|
(log/infof "%s: eth-rpc %s" internal-tx-id method))
|
||||||
(log/debugf "%s: eth-rpc req(%s) body: %s" internal-tx-id request-id body)
|
(log/debugf "%s: eth-rpc req(%s) body: %s" internal-tx-id request-id body)
|
||||||
|
(if internal-tx-id
|
||||||
(log/infof "%s: eth-rpc req(%s) result: %s" internal-tx-id request-id result)
|
(log/infof "%s: eth-rpc req(%s) result: %s" internal-tx-id request-id result)
|
||||||
|
(log/debugf "no-tx-id: eth-rpc req(%s) result: %s" request-id result))
|
||||||
(cond
|
(cond
|
||||||
;; Ignore any responses that have mismatching request ID
|
;; Ignore any responses that have mismatching request ID
|
||||||
(not= (:id result) request-id)
|
(not= (:id result) request-id)
|
||||||
|
|
Loading…
Reference in New Issue