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 committed 2022-03-24 14:13:05 +01:00
1 parent efa36ce8f2
commit 5bf9b710fc
2 files changed
+8 -5

No files matched your search

+1 -1
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 "+