signrpc+subserver: add key chain to signer

This commit is contained in:
Oliver Gugger
2019-12-10 09:48:13 +01:00
parent 699bb193e4
commit d47f67d260
2 changed files with 8 additions and 0 deletions

View File

@@ -130,6 +130,9 @@ func (s *subRPCServerConfigs) PopulateDependencies(cc *chainControl,
subCfgValue.FieldByName("Signer").Set(
reflect.ValueOf(cc.signer),
)
subCfgValue.FieldByName("KeyRing").Set(
reflect.ValueOf(cc.keyRing),
)
case *walletrpc.Config:
subCfgValue := extractReflectValue(subCfg)