OSDN Git Service

fix(cross_chain): add asset_id check in cross_chain_in request (#177)
[bytom/vapor.git] / protocol / bc / types / crosschain_output.go
index fc3ac58..afc9201 100644 (file)
@@ -11,7 +11,7 @@ type CrossChainOutput struct {
        CommitmentSuffix []byte
 }
 
-// CrossChainOutput create a new output struct
+// NewCrossChainOutput create a new output struct
 func NewCrossChainOutput(assetID bc.AssetID, amount uint64, controlProgram []byte) *TxOutput {
        return &TxOutput{
                AssetVersion: 1,