OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7f8564
)
fix
author
mars
<mars@bytom.io>
Tue, 18 Jun 2019 02:42:19 +0000
(10:42 +0800)
committer
mars
<mars@bytom.io>
Tue, 18 Jun 2019 02:42:19 +0000
(10:42 +0800)
wallet/indexer.go
patch
|
blob
|
history
diff --git
a/wallet/indexer.go
b/wallet/indexer.go
index
bc61dc3
..
97cd918
100644
(file)
--- a/
wallet/indexer.go
+++ b/
wallet/indexer.go
@@
-93,7
+93,7
@@
func saveExternalAssetDefinition(b *types.Block, walletDB dbm.DB) {
if cci, ok := orig.TypedInput.(*types.CrossChainInput); ok {
assetID := cci.AssetId
if assetExist := walletDB.Get(asset.ExtAssetKey(assetID)); assetExist == nil {
- storeBatch.Set(asset.ExtAssetKey(assetID), cci.
AssetDefinition
)
+ storeBatch.Set(asset.ExtAssetKey(assetID), cci.
CrossChainAssetDefinition.RawDefinitionByte
)
}
}
}