Mine works well on a just created testnet wallet.
As far as I can tell, it works
if the wallet already has the private key in it (ie. you create an imported wallet using the privkey)... but if you are attempting to sign a transaction using a wallet that doesn't contain the key, it won't work... even if you pass the private key.
There is something weird happening in the
sign_transaction() code that seems to make it ignore the
privkey 