Browse Source
Merge pull request #532 from mrfelton/feat/log-lnd-method-calls
Add more logging for lnd service
renovate/lint-staged-8.x
Ben Woosley
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
0 deletions
-
app/lnd/methods/index.js
-
app/lnd/walletUnlockerMethods/index.js
|
|
@ -18,6 +18,7 @@ import * as networkController from './networkController' |
|
|
|
// TODO - DeleteAllPayments
|
|
|
|
|
|
|
|
export default function(lnd, log, event, msg, data) { |
|
|
|
log.info(`Calling lnd method: %o`, { msg, data }) |
|
|
|
switch (msg) { |
|
|
|
case 'info': |
|
|
|
networkController |
|
|
|
|
|
@ -1,6 +1,7 @@ |
|
|
|
import * as walletController from '../methods/walletController' |
|
|
|
|
|
|
|
export default function(walletUnlocker, log, event, msg, data) { |
|
|
|
log.info(`Calling walletUnlocker method '${msg}'`) |
|
|
|
switch (msg) { |
|
|
|
case 'genSeed': |
|
|
|
walletController |
|
|
|