Conversation
Signed-off-by: Marcin Kielar <zorba128@interia.pl>
Signed-off-by: Marcin Kielar <zorba128@interia.pl>
….serialize` is called without preceding it with `Transaction.sign`. Signed-off-by: Marcin Kielar <zorba128@interia.pl>
|
Also updated Transaction/TransactionBuilder signature handling to ensure correct signature order. This should make it possible to correctly sign non-trivial transactions that involve multiple instructions/accounts. |
Message to support external signers|
Any chance? Or maybe discussion? This is really broken, with transaction that requires few signatures it is impossible now to guess what to pass to sign method... Just try to make transaction with memo and few different token transfers. |
|
@zorba128 It still requires signers when transaction.serialize(). If no signer is set, it throws RuntimeException("Missing signer for account " + publicKey). I don't understand how this commit sovles the issue. |
|
|
@zorba128 Yes, much appreciated. I further modified it to serialize without any signature, making external sign possible: |
Improved
Messageto support external signers.Also some refactorings be able to use it outside of Transaction/TransactionBuilder.