Skip to content

Commit

Permalink
fix tstore arg
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlyp committed Feb 11, 2022
1 parent c7ab8a0 commit 47ae2e5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion politeiad/backendv2/tstorebe/tstore/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ func (t *Tstore) PluginRegister(b backend.Backend, p backend.Plugin) error {
)
switch p.ID {
case cmsplugin.PluginID:
client, err = cms.New(b, t, p.Settings, dataDir, p.Identity, t.activeNetParams)
client, err = cms.New(b, &tstoreClient{
pluginID: cmplugin.PluginID,
tstore: t,
}, p.Settings, dataDir, p.Identity, t.activeNetParams)
if err != nil {
return err
}
Expand Down

0 comments on commit 47ae2e5

Please sign in to comment.