From f50638552f06811de82b3f2e5b8b0a2c6b5dc407 Mon Sep 17 00:00:00 2001 From: Vitaliy Vlasov Date: Thu, 19 Apr 2018 16:21:08 +0300 Subject: [PATCH] Fix web3j obj reference --- src/clj/commiteth/eth/core.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/commiteth/eth/core.clj b/src/clj/commiteth/eth/core.clj index d9455e6..1d0142a 100644 --- a/src/clj/commiteth/eth/core.clj +++ b/src/clj/commiteth/eth/core.clj @@ -61,7 +61,7 @@ (let [nonce (peek @nonces-dropped)] (swap! nonces-dropped pop) nonce) - (let [nonce (.. (.ethGetTransactionCount (create-web3j) + (let [nonce (.. (.ethGetTransactionCount @web3j-obj (env :eth-account) DefaultBlockParameterName/LATEST) sendAsync