mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 13:16:44 +00:00
fix script display of uncompressed pubkeys
This commit is contained in:
parent
14d0437424
commit
f3c44e6f3e
1 changed files with 2 additions and 2 deletions
|
@ -54,10 +54,10 @@ public class ScriptArea extends CodeArea {
|
||||||
ScriptChunk chunk = script.getChunks().get(i);
|
ScriptChunk chunk = script.getChunks().get(i);
|
||||||
if(chunk.isOpCode()) {
|
if(chunk.isOpCode()) {
|
||||||
append(chunk.toString(), "script-opcode");
|
append(chunk.toString(), "script-opcode");
|
||||||
} else if(chunk.isSignature()) {
|
|
||||||
append("<signature" + signatureCount++ + ">", "script-signature");
|
|
||||||
} else if(chunk.isPubKey()) {
|
} else if(chunk.isPubKey()) {
|
||||||
append("<pubkey" + pubKeyCount++ + ">", "script-pubkey");
|
append("<pubkey" + pubKeyCount++ + ">", "script-pubkey");
|
||||||
|
} else if(chunk.isSignature()) {
|
||||||
|
append("<signature" + signatureCount++ + ">", "script-signature");
|
||||||
} else if(chunk.isTaprootControlBlock()) {
|
} else if(chunk.isTaprootControlBlock()) {
|
||||||
append("<controlblock>", "script-controlblock");
|
append("<controlblock>", "script-controlblock");
|
||||||
} else if(chunk.isString()) {
|
} else if(chunk.isString()) {
|
||||||
|
|
Loading…
Reference in a new issue