Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
duck1123 committed Sep 6, 2021
1 parent 51b789a commit c29a0c7
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions src/main/dinsro/mutations/core_nodes.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,21 @@
::pc/output [:status
;; :created-currency [::m.core-nodes/id]
]}
(let [node (q.core-nodes/read-record id)]
(let [url (a.lnd/get-url)
client (a.lnd/get-client url)]
(log/spy :info (.getWalletInfo client)))
(log/spy :info node)
(log/spy :info env)
(log/spy :info (:ring/request env))
(log/spy :info id)
(log/spy :info identity)
{:status :pending}))
(let [node (q.core-nodes/read-record id)
url (a.lnd/get-url)
client (a.lnd/get-client url)
wallet-info (log/spy :info (.getWalletInfo client))
]
;; (log/spy :info node)
;; (log/spy :info env)
;; (log/spy :info (:ring/request env))
;; (log/spy :info id)
;; (log/spy :info identity)
(log/spy :info
{:balance (.balance wallet-info)
:tx-count (.txCount wallet-info)
})
))

:cljs
(defmutation connect! [_props]
Expand Down

0 comments on commit c29a0c7

Please sign in to comment.