mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-19 05:35:49 +00:00
A transaction output may have multiple OP_RETURNs.
This commit is contained in:
parent
cf980bc68c
commit
5dcf643975
@ -750,7 +750,7 @@ public class Script {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean isOpReturn() {
|
public boolean isOpReturn() {
|
||||||
return chunks.size() == 2 && chunks.get(0).equalsOpCode(OP_RETURN);
|
return chunks.size() > 0 && chunks.get(0).equalsOpCode(OP_RETURN);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user