OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat: add cross-chain output (#56)
[bytom/vapor.git]
/
protocol
/
state
/
utxo_view_test.go
diff --git
a/protocol/state/utxo_view_test.go
b/protocol/state/utxo_view_test.go
index
8668a1c
..
db96d84
100644
(file)
--- a/
protocol/state/utxo_view_test.go
+++ b/
protocol/state/utxo_view_test.go
@@
-10,7
+10,7
@@
import (
)
var defaultEntry = map[bc.Hash]bc.Entry{
)
var defaultEntry = map[bc.Hash]bc.Entry{
- bc.Hash{V0: 0}: &bc.Output{
+ bc.Hash{V0: 0}: &bc.
IntraChain
Output{
Source: &bc.ValueSource{
Value: &bc.AssetAmount{
AssetId: &bc.AssetID{V0: 0},
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{
}
var gasOnlyTxEntry = map[bc.Hash]bc.Entry{
- bc.Hash{V1: 0}: &bc.Output{
+ bc.Hash{V1: 0}: &bc.
IntraChain
Output{
Source: &bc.ValueSource{
Value: &bc.AssetAmount{
AssetId: consensus.BTMAssetID,
},
},
},
Source: &bc.ValueSource{
Value: &bc.AssetAmount{
AssetId: consensus.BTMAssetID,
},
},
},
- bc.Hash{V1: 1}: &bc.Output{
+ bc.Hash{V1: 1}: &bc.
IntraChain
Output{
Source: &bc.ValueSource{
Value: &bc.AssetAmount{
AssetId: &bc.AssetID{V0: 999},
Source: &bc.ValueSource{
Value: &bc.AssetAmount{
AssetId: &bc.AssetID{V0: 999},