mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 23:03:04 +00:00
Properly uncache scriptSig in TransactionInput.setScriptBytes
This commit is contained in:
parent
70685745c3
commit
fad5356bd9
@ -237,6 +237,7 @@ public class TransactionInput extends ChildMessage implements Serializable {
|
||||
*/
|
||||
void setScriptBytes(byte[] scriptBytes) {
|
||||
unCache();
|
||||
this.scriptSig = null;
|
||||
int oldLength = length;
|
||||
this.scriptBytes = scriptBytes;
|
||||
// 40 = previous_outpoint (36) + sequence (4)
|
||||
|
Loading…
x
Reference in New Issue
Block a user