GetStack returns the contents of the primary stack as an array. where the last item in the array is the top of the stack.
()
| 1492 | // GetStack returns the contents of the primary stack as an array. where the |
| 1493 | // last item in the array is the top of the stack. |
| 1494 | func (vm *Engine) GetStack() [][]byte { |
| 1495 | return getStack(&vm.dstack) |
| 1496 | } |
| 1497 | |
| 1498 | // SetStack sets the contents of the primary stack to the contents of the |
| 1499 | // provided array where the last item in the array will be the top of the stack. |
no test coverage detected