Flesh out the peer handling skeleton within peer/server
This commit is contained in:
1 parent
07b0d5ca3e
commit
0c304cbb2f
3 files changed
+285
-13
No files matched your search
@@ -38,6 +38,11 @@ func newRpcServer(wallet *lnwallet.LightningWallet) *rpcServer {
|
||||
make(chan []byte)} // init OmniChan (size 1 ok...?)
|
||||
}
|
||||
|
||||
// Stop...
|
||||
func (r *rpcServer) Stop() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// getPriv gets the identity private key out of the wallet DB
|
||||
func getPriv(l *lnwallet.LightningWallet) (*btcec.PrivateKey, error) {
|
||||
adr, err := l.ChannelDB.GetIdAdr()
|
||||
|
||||
Reference in new issue
Block a user