txscript: Correct comments on alt stack methods. (#657)
This commit is contained in:
parent
1d83cd5721
commit
5ff5fc5fa2
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue