core/vm: remove stack.pushN (#24040)

This commit is contained in:
Alex Beregszaszi
2021-12-03 09:16:49 +00:00
committed by GitHub
parent 5e78fc034b
commit a0f7771962
2 changed files with 8 additions and 8 deletions

View File

@@ -54,10 +54,6 @@ func (st *Stack) push(d *uint256.Int) {
// NOTE push limit (1024) is checked in baseCheck
st.data = append(st.data, *d)
}
func (st *Stack) pushN(ds ...uint256.Int) {
// FIXME: Is there a way to pass args by pointers.
st.data = append(st.data, ds...)
}
func (st *Stack) pop() (ret uint256.Int) {
ret = st.data[len(st.data)-1]