OSDN Git Service

update
authorHAOYUatHZ <haoyu@protonmail.com>
Thu, 23 May 2019 06:36:33 +0000 (14:36 +0800)
committerHAOYUatHZ <haoyu@protonmail.com>
Thu, 23 May 2019 06:36:33 +0000 (14:36 +0800)
asset/builder.go

index c142074..cc01fc6 100644 (file)
@@ -57,7 +57,8 @@ func (a *crossInAction) Build(ctx context.Context, builder *txbuilder.TemplateBu
        }
 
        // 1. arguments will be set when materializeWitnesses
-       // 2. need to fill in issuance program here
+       // 2. need to fill in issuance program & here, and will need to deal with
+       // customized arguments
        txin := types.NewCrossChainInput(nil, a.SourceID, *a.AssetId, a.Amount, a.SourcePos, nil, rawDefinitionByte)
        log.Info("cross-chain input action built")
        tplIn := &txbuilder.SigningInstruction{}