diff --git a/client/src/modules/interpreter/InterpreterComponent.js b/client/src/modules/interpreter/InterpreterComponent.js index 692b2aa..7f0ae5e 100644 --- a/client/src/modules/interpreter/InterpreterComponent.js +++ b/client/src/modules/interpreter/InterpreterComponent.js @@ -1,4 +1,5 @@ import React from 'react'; +import _ from 'lodash'; import ScriptOpCodeList from '../transaction/ScriptOpCodeList'; class InterpreterComponent extends React.Component { @@ -16,16 +17,24 @@ class InterpreterComponent extends React.Component { return (

{executionDescription}

+
+

Current Stack:

+ +

Current Script:

+ + { + !_.isEmpty(altStack) ? ( + +

Current Alt Stack:

+ +
+ ) : null + } +

ScriptPubKey:

ScriptSig:

-

Current Script:

- -

Current Stack:

- -

Current Alt Stack:

-
) }