config_builder+rpcwallet: simplify RPC signing

With the remote signing instance now not needing to know anything about
addresses or current derivation indices, we don't need to forward any
such calls to that instance and can simplify the RPCKeyRing
considerably.
This commit is contained in:
Oliver Gugger committed 2022-01-06 14:35:24 +01:00
1 parent 8994d86a1d
commit 3d353a9879
3 files changed
+351 -389

No files matched your search

+1 -1
View File
@@ -687,7 +687,7 @@ func (d *RPCSignerWalletImpl) BuildChainControl(
rpcKeyRing, err := rpcwallet.NewRPCKeyRing(
baseKeyRing, walletController,
d.DefaultWalletImpl.cfg.RemoteSigner,
d.DefaultWalletImpl.cfg.RemoteSigner, walletConfig.CoinType,
rpcwallet.DefaultRPCTimeout,
)
if err != nil {