mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-07 23:48:36 +00:00
core/vm: fixed a bug where Data ignored the stack ptr
This commit is contained in:
parent
10af69b57c
commit
f94c5473ad
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ type stack struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (st *stack) Data() []*big.Int {
|
func (st *stack) Data() []*big.Int {
|
||||||
return st.data
|
return st.data[:st.ptr]
|
||||||
}
|
}
|
||||||
|
|
||||||
func (st *stack) push(d *big.Int) {
|
func (st *stack) push(d *big.Int) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue