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:
3342210
)
add todo
author
HAOYUatHZ
<haoyu@protonmail.com>
Wed, 19 Jun 2019 08:05:36 +0000
(16:05 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Wed, 19 Jun 2019 08:05:36 +0000
(16:05 +0800)
federation/warder.go
patch
|
blob
|
history
diff --git
a/federation/warder.go
b/federation/warder.go
index
3238171
..
41f9cde
100644
(file)
--- a/
federation/warder.go
+++ b/
federation/warder.go
@@
-173,6
+173,7
@@
func (w *warder) buildSidechainTx(ormTx *orm.CrossTransaction) (*vaporTypes.Tx,
}
for _, req := range ormTx.Reqs {
+ // TODO: implement ormID cache
// getAsset from assetStore instead of preload asset, in order to save db query overload
asset, err := w.assetStore.GetByOrmID(req.AssetID)
if err != nil {