|
|
|
@ -419,17 +419,13 @@ void fsm_msgSignTx(SignTx *msg)
|
|
|
|
|
signing_init(msg->inputs_count, msg->outputs_count, coin, node, msg->version, msg->lock_time);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void fsm_msgEthereumSignTx(EthereumSignTx *msg)
|
|
|
|
|
{
|
|
|
|
|
(void)msg;
|
|
|
|
|
fsm_sendFailure(FailureType_Failure_Other, "Unsupported feature");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void fsm_msgEthereumTxAck(EthereumTxAck *msg)
|
|
|
|
|
void fsm_msgTxAck(TxAck *msg)
|
|
|
|
|
{
|
|
|
|
|
(void)msg;
|
|
|
|
|
fsm_sendFailure(FailureType_Failure_Other, "Unsupported feature");
|
|
|
|
|
if (msg->has_tx) {
|
|
|
|
|
signing_txack(&(msg->tx));
|
|
|
|
|
} else {
|
|
|
|
|
fsm_sendFailure(FailureType_Failure_SyntaxError, "No transaction provided");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void fsm_msgCancel(Cancel *msg)
|
|
|
|
@ -440,13 +436,16 @@ void fsm_msgCancel(Cancel *msg)
|
|
|
|
|
fsm_sendFailure(FailureType_Failure_ActionCancelled, "Aborted");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void fsm_msgTxAck(TxAck *msg)
|
|
|
|
|
void fsm_msgEthereumSignTx(EthereumSignTx *msg)
|
|
|
|
|
{
|
|
|
|
|
if (msg->has_tx) {
|
|
|
|
|
signing_txack(&(msg->tx));
|
|
|
|
|
} else {
|
|
|
|
|
fsm_sendFailure(FailureType_Failure_SyntaxError, "No transaction provided");
|
|
|
|
|
}
|
|
|
|
|
(void)msg;
|
|
|
|
|
fsm_sendFailure(FailureType_Failure_Other, "Unsupported feature");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void fsm_msgEthereumTxAck(EthereumTxAck *msg)
|
|
|
|
|
{
|
|
|
|
|
(void)msg;
|
|
|
|
|
fsm_sendFailure(FailureType_Failure_Other, "Unsupported feature");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void fsm_msgCipherKeyValue(CipherKeyValue *msg)
|
|
|
|
|