updateStack method

TaprootScriptInput updateStack(
  1. List<Uint8List> newStack
)

Replaces the stack to update the data required to spend the input

Implementation

TaprootScriptInput updateStack(List<Uint8List> newStack)
  => TaprootScriptInput(
    prevOut: prevOut,
    controlBlock: controlBlock,
    tapscript: tapscript,
    stack: newStack,
    sequence: sequence,
  );