should be `wallet.sign(options)` with a tx in the options and the tx should be a buffer.
should be
wallet.sign(options)with a tx in the options and the tx should be a buffer.