OSDN Git Service

add todo
authorHAOYUatHZ <haoyu@protonmail.com>
Wed, 19 Jun 2019 08:05:36 +0000 (16:05 +0800)
committerHAOYUatHZ <haoyu@protonmail.com>
Wed, 19 Jun 2019 08:05:36 +0000 (16:05 +0800)
federation/warder.go

index 3238171..41f9cde 100644 (file)
@@ -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 {