OSDN Git Service

refatcor(feaderation): use P2WSHProgram for federation program on sidechain (#233)
[bytom/vapor.git] / federation / synchron / mainchain_keeper.go
index 3b4da04..0c1612c 100644 (file)
@@ -42,7 +42,7 @@ func NewMainchainKeeper(db *gorm.DB, assetStore *database.AssetStore, cfg *confi
                node:       service.NewNode(cfg.Mainchain.Upstream),
                chainName:  cfg.Mainchain.Name,
                assetStore: assetStore,
-               fedProg:    util.SegWitWrap(util.ParseFedProg(cfg.Warders, cfg.Quorum)),
+               fedProg:    util.ParseFedProg(cfg.Warders, cfg.Quorum),
        }
 }