lnrpc: update grpc-gateway library to v2
This commit is contained in:
70 files changed
+8799
-8287
No files matched your search
@@ -12,7 +12,7 @@ import (
|
||||
|
||||
"github.com/btcsuite/btcd/wire"
|
||||
"github.com/btcsuite/btcutil"
|
||||
"github.com/grpc-ecosystem/grpc-gateway/runtime"
|
||||
"github.com/grpc-ecosystem/grpc-gateway/v2/runtime"
|
||||
"github.com/lightningnetwork/lnd/channeldb"
|
||||
"github.com/lightningnetwork/lnd/lnrpc"
|
||||
"github.com/lightningnetwork/lnd/lntypes"
|
||||
@@ -147,6 +147,11 @@ type Server struct {
|
||||
shutdown int32 // To be used atomically.
|
||||
forwardInterceptorActive int32 // To be used atomically.
|
||||
|
||||
// Required by the grpc-gateway/v2 library for forward compatibility.
|
||||
// Must be after the atomically used variables to not break struct
|
||||
// alignment.
|
||||
UnimplementedRouterServer
|
||||
|
||||
cfg *Config
|
||||
|
||||
quit chan struct{}
|
||||
|
||||
Reference in new issue
Block a user