Skip to content

Commit 449c39b

Browse files
committed
fix CI pipeline warning
1 parent 64d46a0 commit 449c39b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

core/embed/rust/src/mintlayer/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ use ml_common::{
99
HashedTimelockContract, HtlcSecretHash, IsTokenFreezable, IsTokenUnfreezable, Metadata,
1010
NftIssuance, NftIssuanceV0, OrderData, OutPointSourceId, OutPointSourceIdIndex, OutputTimeLock,
1111
OutputTimeLockIndex, OutputValue, PublicKey, PublicKeyHolder, StakePoolData, TokenIssuance,
12-
TokenIssuanceV1, TokenTotalSupply, TokenTotalSupplyIndex, TxInput, TxOutput,
13-
UtxoOutPoint, VRFPublicKeyHolder, H256,
12+
TokenIssuanceV1, TokenTotalSupply, TokenTotalSupplyIndex, TxInput, TxOutput, UtxoOutPoint,
13+
VRFPublicKeyHolder, H256,
1414
};
1515
use num_traits::FromPrimitive;
1616
use parity_scale_codec::{DecodeAll, Encode};

core/src/apps/mintlayer/sign_tx/signer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def __init__(
158158
self.chunkify = tx.chunkify or False
159159
self.tx_req = MintlayerTxRequest()
160160
self.tx_req.details = MintlayerTxRequestDetailsType()
161-
self.tx_req.serialized = []
161+
self.tx_req.serialized = None
162162

163163
# The digest of the presigned external inputs streamed for approval in Step 1. This is
164164
# used to ensure that the inputs streamed for verification in Step 3 are the same as

python/src/trezorlib/cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def trezorctl_command_with_client(
158158

159159
# the return type of @click.pass_obj is improperly specified and pyright doesn't
160160
# understand that it converts f(obj, *args, **kwargs) to f(*args, **kwargs)
161-
return trezorctl_command_with_client # type: ignore [is incompatible with return type]
161+
return trezorctl_command_with_client
162162

163163

164164
class AliasedGroup(click.Group):

0 commit comments

Comments
 (0)