mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-13 02:35:52 +00:00
Script: don't query the clock when parsing a script. This actually shows up in Android performance profiles.
This commit is contained in:
parent
596d6f9d88
commit
8c414fb172
@ -101,7 +101,7 @@ public class Script {
|
||||
public Script(byte[] programBytes) throws ScriptException {
|
||||
program = programBytes;
|
||||
parse(programBytes);
|
||||
creationTimeSeconds = Utils.currentTimeSeconds();
|
||||
creationTimeSeconds = 0;
|
||||
}
|
||||
|
||||
public Script(byte[] programBytes, long creationTimeSeconds) throws ScriptException {
|
||||
|
Loading…
x
Reference in New Issue
Block a user