Problems in TrustWallet and libbitcoin bx are similar - bad random number generation.

I guessed either this or nonce reuse in ECDSA.

https://milksad.info/disclosure.html#part-i---tracing-the-issue-to-the-source