diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | core/vm/stack.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 { |