From 4c4bce94695cc78ff6d403ae09bfa18a4b816670 Mon Sep 17 00:00:00 2001 From: Anton Kaliaev Date: Mon, 3 Apr 2017 14:57:12 +0400 Subject: [PATCH] [mintnet-kubernetes] use `tr -d` as per Frey suggestion --- mintnet-kubernetes/examples/basecoin/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mintnet-kubernetes/examples/basecoin/README.md b/mintnet-kubernetes/examples/basecoin/README.md index 58d3f39c2..a4027716c 100644 --- a/mintnet-kubernetes/examples/basecoin/README.md +++ b/mintnet-kubernetes/examples/basecoin/README.md @@ -25,13 +25,13 @@ make create 3. get account's address of the second pod ``` - kubectl exec -c app tm-1 -- cat /app/key.json | grep "address" + ADDR=`kubectl exec -c app tm-1 -- cat /app/key.json | grep "address" | tr -d "\""` ``` 4. send 5 coins to it from the first pod ``` - kubectl exec -c app tm-0 -- basecoin tx send --to 0x
--amount 5 + kubectl exec -c app tm-0 -- basecoin tx send --to "0x$ADDR" --amount 5 ```