mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 12:28:09 +00:00
fix(legacy): don't mention decred in btconly fw
This commit is contained in:
parent
901580817d
commit
83a81da37d
1
legacy/firmware/.changelog.d/1633.fixed
Normal file
1
legacy/firmware/.changelog.d/1633.fixed
Normal file
@ -0,0 +1 @@
|
|||||||
|
Remove rest of altcoin logic from bitcoin-only build.
|
@ -1070,6 +1070,7 @@ static bool signing_validate_output(TxOutputType *txoutput) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static bool signing_validate_bin_output(TxOutputBinType *tx_bin_output) {
|
static bool signing_validate_bin_output(TxOutputBinType *tx_bin_output) {
|
||||||
|
#if !BITCOIN_ONLY
|
||||||
if (!coin->decred && tx_bin_output->has_decred_script_version) {
|
if (!coin->decred && tx_bin_output->has_decred_script_version) {
|
||||||
fsm_sendFailure(
|
fsm_sendFailure(
|
||||||
FailureType_Failure_DataError,
|
FailureType_Failure_DataError,
|
||||||
@ -1077,6 +1078,9 @@ static bool signing_validate_bin_output(TxOutputBinType *tx_bin_output) {
|
|||||||
signing_abort();
|
signing_abort();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
(void)tx_bin_output;
|
||||||
|
#endif
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user