mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
loopd+cmd/loopd: rename main Start function to Run
This commit is contained in:
parent
774a44fac1
commit
74b3580e01
2 changed files with 3 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ import (
|
|||
|
||||
func main() {
|
||||
cfg := loopd.RPCConfig{}
|
||||
err := loopd.Start(cfg)
|
||||
err := loopd.Run(cfg)
|
||||
if err != nil {
|
||||
fmt.Printf("loopd exited with an error: %v\n", err)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -92,7 +92,8 @@ func newListenerCfg(config *Config, rpcCfg RPCConfig) *listenerCfg {
|
|||
}
|
||||
}
|
||||
|
||||
func Start(rpcCfg RPCConfig) error {
|
||||
// Run starts the loop daemon and blocks until it's shut down again.
|
||||
func Run(rpcCfg RPCConfig) error {
|
||||
config := DefaultConfig()
|
||||
|
||||
// Parse command line flags.
|
||||
Loading…
Add table
Add a link
Reference in a new issue