diff --git a/txscript/engine.go b/txscript/engine.go index c5cc0e6ab..97111eb16 100644 --- a/txscript/engine.go +++ b/txscript/engine.go @@ -564,13 +564,13 @@ func (vm *Engine) SetStack(data [][]byte) { setStack(&vm.dstack, data) } -// GetAltStack returns the contents of the primary stack as an array. where the +// GetAltStack returns the contents of the alternate stack as an array where the // last item in the array is the top of the stack. func (vm *Engine) GetAltStack() [][]byte { return getStack(&vm.astack) } -// SetAltStack sets the contents of the primary stack to the contents of the +// SetAltStack sets the contents of the alternate stack to the contents of the // provided array where the last item in the array will be the top of the stack. func (vm *Engine) SetAltStack(data [][]byte) { setStack(&vm.astack, data)