I'm trying to get bitcoind (bitcoin-core client) to sign a transaction with a key I generated using libbitcoin, but I'm getting 'Invalid private key' messages 😕 I'm using wallet::ec_private(key.secret(), network, true).encoded(); to get the encoded private key, the key variable is a hd_private object. Any ideas what am I doing wrong?