Merge pull request #3812 from guggero/sign-custom

signrpc: sign and verify messages with custom key
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2019-12-11 18:51:55 -08:00
commit 338175534e
6 files changed
+495 -50

No files matched your search

+3
View File
@@ -132,6 +132,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)