diff --git a/src/apps/monero/protocol/signing/step_09_sign_input.py b/src/apps/monero/protocol/signing/step_09_sign_input.py index 2b3eee94c..9fed3318f 100644 --- a/src/apps/monero/protocol/signing/step_09_sign_input.py +++ b/src/apps/monero/protocol/signing/step_09_sign_input.py @@ -176,14 +176,6 @@ async def sign_input( gc.collect() state.mem_trace(6) - # Multisig values returned encrypted, keys returned after finished successfully. - if state.multi_sig: - from apps.monero.xmr.enc import chacha_poly - - cout = chacha_poly.encrypt_pack( - hmac_encryption_keys.enc_key_cout(state.key_enc), crypto.encodeint(msc) - ) - # Final state transition if state.inp_idx + 1 == state.input_count: # state.state.set_signature_done() todo remove? diff --git a/src/apps/monero/protocol/signing/step_10_sign_final.py b/src/apps/monero/protocol/signing/step_10_sign_final.py index f570de57e..859cd3394 100644 --- a/src/apps/monero/protocol/signing/step_10_sign_final.py +++ b/src/apps/monero/protocol/signing/step_10_sign_final.py @@ -20,10 +20,6 @@ async def final_msg(state: State): # state.state.set_final() todo needed? print("10") - cout_key = ( - hmac_encryption_keys.enc_key_cout(state.key_enc) if state.multi_sig else None - ) - # Encrypted tx keys under transaction specific key, derived from txhash and spend key. # Deterministic transaction key, so we can recover it just from transaction and the spend key. tx_key, salt, rand_mult = misc.compute_tx_key( @@ -39,5 +35,5 @@ async def final_msg(state: State): gc.collect() return MoneroTransactionFinalAck( - cout_key=cout_key, salt=salt, rand_mult=rand_mult, tx_enc_keys=tx_enc_keys + cout_key=None, salt=salt, rand_mult=rand_mult, tx_enc_keys=tx_enc_keys )