Closed Mahsa-Bastankhah closed 3 years ago
Ah yes. Sounds about right. Thanks for the concise report.
Will patch this when I get a moment. 😉
thanks. I'm waiting for the update.
Will this do okay? I had to change the function signature to to add the 'network' positional arg... so this will technically be a breaking change but I'm not aware of too many people using this functionality...
Cut new release now. Will close this issue. LMK though of any issues and can reopen as needed.
Hi. as I read in bitsv documentation I need to call the prepare transaction when I'm online to prepare a transaction and then I can sign this transaction offline. logically the prepare_tranaction function shouldn't need the key object to work. but when I run the
tx_data = PrivateKey.prepare_transaction(address=sender.address, outputs=[(receiver.address, amountToSpend , 'bsv')])
I get this error : TypeError: prepare_transaction() missing 1 required positional argument: 'self'I checked the wallet.py file of bitsv and recognized that prepare_transaction isn't a @classmethod while it should be!