From 405df038899e6b42ecdd27278a467ed1117a5311 Mon Sep 17 00:00:00 2001 From: Chengcheng Zhang <943420582@qq.com> Date: Thu, 20 Jun 2019 15:12:32 +0800 Subject: [PATCH] update readme --- README.md | 4 +--- wallet/annotated.go | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4eb63229..50644f82 100644 --- a/README.md +++ b/README.md @@ -68,8 +68,6 @@ vapor data directory has three config files: - `federation.json` - `node_key.txt` -Then you can use vapord and bytomcli following [Bytom Wiki](https://github.com/Bytom/bytom/wiki/Command-Line-Options). - Use `exit` to exit Docker's iterative mode. ### Daemon mode @@ -95,7 +93,7 @@ $ docker ps To execute a command inside a containner, for example: ``` -$ docker exec -it bytomcli create-access-token +$ docker exec -it vaporcli create-access-token ``` To stop a running containner: diff --git a/wallet/annotated.go b/wallet/annotated.go index 66048769..746ac5a2 100644 --- a/wallet/annotated.go +++ b/wallet/annotated.go @@ -33,6 +33,7 @@ func annotateTxsAsset(w *Wallet, txs []*query.AnnotatedTx) { } func (w *Wallet) getExternalDefinition(assetID *bc.AssetID) json.RawMessage { + // definitionByte := w.DB.Get(asset.ExtAssetKey(assetID)) definitionByte := w.DB.Get(asset.ExtAssetKey(assetID)) if definitionByte == nil { return nil -- 2.11.0