config_builder+rpcwallet: add full net params

As a preparation for parsing addresses, we need the full network
parameters and not just the coin type in the RPC wallet.
This commit is contained in:
Oliver Gugger
2022-03-16 15:11:14 +01:00
parent efa36ce8f2
commit 5bf9b710fc
2 changed files with 8 additions and 5 deletions

View File

@@ -691,7 +691,7 @@ func (d *RPCSignerWalletImpl) BuildChainControl(
rpcKeyRing, err := rpcwallet.NewRPCKeyRing(
baseKeyRing, walletController,
d.DefaultWalletImpl.cfg.RemoteSigner, walletConfig.CoinType,
d.DefaultWalletImpl.cfg.RemoteSigner, walletConfig.NetParams,
)
if err != nil {
err := fmt.Errorf("unable to create RPC remote signing wallet "+