Skip to content

Commit

Permalink
mobile: pass de-referenced variable in mobile bindings
Browse files Browse the repository at this point in the history
Signed-off-by: DarthBenro008 <[email protected]>
  • Loading branch information
DarthBenro008 committed Aug 20, 2021
1 parent a8994dc commit 37a76a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mobile/bindings.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func Start(extraArgs string, rpcReady Callback) {

// Load the configuration, and parse the extra arguments as command
// line options. This function will also set up logging properly.
loadedConfig, err := lnd.LoadConfig(shutdownInterceptor)
loadedConfig, err := lnd.LoadConfig(*shutdownInterceptor)
if err != nil {
atomic.StoreInt32(&lndStarted, 0)
_, _ = fmt.Fprintln(os.Stderr, err)
Expand Down Expand Up @@ -106,7 +106,7 @@ func Start(extraArgs string, rpcReady Callback) {
defer close(quit)

if err := lnd.Main(
loadedConfig, cfg, shutdownInterceptor,
loadedConfig, cfg, *shutdownInterceptor,
); err != nil {
if e, ok := err.(*flags.Error); ok &&
e.Type == flags.ErrHelp {
Expand Down

0 comments on commit 37a76a1

Please sign in to comment.