aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--core/vm/stack.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 7f7c54172..7758d694f 100644
--- a/README.md
+++ b/README.md
@@ -70,7 +70,7 @@ This command will:
(via the trailing `console` subcommand) through which you can invoke all official [`web3` methods](https://github.com/ethereum/wiki/wiki/JavaScript-API)
as well as Geth's own [management APIs](https://github.com/ethereum/go-ethereum/wiki/Management-APIs).
This too is optional and if you leave it out you can always attach to an already running Geth instance
- with `geth --attach`.
+ with `geth attach`.
### Full node on the Ethereum test network
diff --git a/core/vm/stack.go b/core/vm/stack.go
index f4777c5b3..9c10d50ad 100644
--- a/core/vm/stack.go
+++ b/core/vm/stack.go
@@ -29,7 +29,7 @@ type Stack struct {
}
func newstack() *Stack {
- return &Stack{}
+ return &Stack{data: make([]*big.Int, 0, 1024)}
}
func (st *Stack) Data() []*big.Int {