bluepayment-plugin / bm-sdk

GNU Lesser General Public License v3.0
0 stars 0 forks source link

Force messageID to be 32 characters long #15

Closed woduda closed 2 years ago

woduda commented 2 years ago

bin2hex() doubles number of characters. That's why random_bytes should generate half of ClientEnum::MESSAGE_ID_LENGTH bytes

Karol-BM commented 2 years ago

Fixed in #17