square / subzero

Block's Bitcoin Cold Storage solution.
Apache License 2.0
685 stars 96 forks source link

[java] remove unnecessary synchronized block in Base45.indexOf() #666

Closed ivmaykov closed 1 year ago

ivmaykov commented 1 year ago

We can initialize the static REVERSE_CHARSET map when the class is loaded and remove the lock.