// arguments will be set when materializeWitnesses
txin := types.NewCrossChainInput(nil, c.SourceID, *c.AssetId, c.Amount, c.SourcePos, c.VMVersion, c.RawDefinitionByte, c.IssuanceProgram)
tplIn := &SigningInstruction{}
+ blockHeight := ctx.Value("block_height").(uint64)
fed := cfg.CommonConfig.Federation
+ if blockHeight > consensus.CrossInForkHeight {
+ fed = cfg.SingleFederationConfig()
+ }
if !common.IsOpenFederationIssueAsset(c.RawDefinitionByte) {
tplIn.AddRawWitnessKeys(fed.Xpubs, cfg.FedAddressPath, fed.Quorum)