aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/stack.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/vm/stack.go')
-rw-r--r--core/vm/stack.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/vm/stack.go b/core/vm/stack.go
index 009ac9e1b..0046edec2 100644
--- a/core/vm/stack.go
+++ b/core/vm/stack.go
@@ -42,6 +42,9 @@ func (st *stack) push(d *big.Int) {
//st.data = append(st.data, stackItem)
st.data = append(st.data, d)
}
+func (st *stack) pushN(ds ...*big.Int) {
+ st.data = append(st.data, ds...)
+}
func (st *stack) pop() (ret *big.Int) {
ret = st.data[len(st.data)-1]