mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-14 19:25:51 +00:00
21b3c06878
Script.<clinit> depended both on Script.<init> and NetworkParameters.<init> to prepare ScriptChunk cache. At the same time NetworkParameters.<init> depended on Script.<clinit> by using Script.writeBytes(). The fix frees Script.<clinit> from both the NetworkParameters and Script objects. This should remove the root cause behind NetworkParameters construction not being thread safe.