diff --git a/src/main/java/com/sparrowwallet/sparrow/control/ScriptArea.java b/src/main/java/com/sparrowwallet/sparrow/control/ScriptArea.java index 749d403b..8be135af 100644 --- a/src/main/java/com/sparrowwallet/sparrow/control/ScriptArea.java +++ b/src/main/java/com/sparrowwallet/sparrow/control/ScriptArea.java @@ -54,10 +54,10 @@ public class ScriptArea extends CodeArea { ScriptChunk chunk = script.getChunks().get(i); if(chunk.isOpCode()) { append(chunk.toString(), "script-opcode"); - } else if(chunk.isSignature()) { - append("", "script-signature"); } else if(chunk.isPubKey()) { append("", "script-pubkey"); + } else if(chunk.isSignature()) { + append("", "script-signature"); } else if(chunk.isTaprootControlBlock()) { append("", "script-controlblock"); } else if(chunk.isString()) {