mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-24 14:50:57 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue