X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=blobdiff_plain;f=test%2Fchain_test_util.go;h=443f7881f8dc4b6ca4c26897449be8853ad7f536;hp=fc9b9ec56d7b68e2fd6439d87ecec2c5b963b914;hb=a8fcbab90cbbfcc0acea0a4bd1389e39ece3da56;hpb=2ffd5b239ec0ed7c96f789362d8b986834ae227f diff --git a/test/chain_test_util.go b/test/chain_test_util.go index fc9b9ec5..443f7881 100644 --- a/test/chain_test_util.go +++ b/test/chain_test_util.go @@ -208,7 +208,7 @@ func (t *ctTransaction) createTransaction(ctx *chainTestContext, txs []*types.Tx } for _, amount := range t.Outputs { - output := types.NewTxOutput(*consensus.BTMAssetID, amount, []byte{byte(vm.OP_TRUE)}) + output := types.NewIntraChainOutput(*consensus.BTMAssetID, amount, []byte{byte(vm.OP_TRUE)}) if err := builder.AddOutput(output); err != nil { return nil, err }