walletrpc: add ListUnspent RPC

This commit is contained in:
Wilmer Paulino
2020-05-20 16:12:51 -07:00
parent 7616a3dc7f
commit acfd432602
6 changed files with 362 additions and 109 deletions

View File

@@ -162,6 +162,9 @@ func (s *subRPCServerConfigs) PopulateDependencies(cfg *Config, cc *chainControl
subCfgValue.FieldByName("Chain").Set(
reflect.ValueOf(cc.chainIO),
)
subCfgValue.FieldByName("ChainParams").Set(
reflect.ValueOf(activeNetParams),
)
case *autopilotrpc.Config:
subCfgValue := extractReflectValue(subCfg)