OSDN Git Service

feat: add cross-chain output (#56)
[bytom/vapor.git] / protocol / state / utxo_view_test.go
index 8668a1c..db96d84 100644 (file)
@@ -10,7 +10,7 @@ import (
 )
 
 var defaultEntry = map[bc.Hash]bc.Entry{
-       bc.Hash{V0: 0}: &bc.Output{
+       bc.Hash{V0: 0}: &bc.IntraChainOutput{
                Source: &bc.ValueSource{
                        Value: &bc.AssetAmount{
                                AssetId: &bc.AssetID{V0: 0},
@@ -20,14 +20,14 @@ var defaultEntry = map[bc.Hash]bc.Entry{
 }
 
 var gasOnlyTxEntry = map[bc.Hash]bc.Entry{
-       bc.Hash{V1: 0}: &bc.Output{
+       bc.Hash{V1: 0}: &bc.IntraChainOutput{
                Source: &bc.ValueSource{
                        Value: &bc.AssetAmount{
                                AssetId: consensus.BTMAssetID,
                        },
                },
        },
-       bc.Hash{V1: 1}: &bc.Output{
+       bc.Hash{V1: 1}: &bc.IntraChainOutput{
                Source: &bc.ValueSource{
                        Value: &bc.AssetAmount{
                                AssetId: &bc.AssetID{V0: 999},