Added support for p2sh-segwit address.
While setting up for my test mining pool, I faced the issue of block rewards going to random addresses when using p2sh-segwit, so had to use legacy address. Thanks to this reply and after confirming from this golang adaption, added the support.
The changes are tested locally and confirmed to be working as expected.
Added support for p2sh-segwit address. While setting up for my test mining pool, I faced the issue of block rewards going to random addresses when using p2sh-segwit, so had to use legacy address. Thanks to this reply and after confirming from this golang adaption, added the support. The changes are tested locally and confirmed to be working as expected.
Thanks