1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-17 21:22:10 +00:00

fix(legacy/nem): use levy only if provided

This commit is contained in:
matejcik 2020-09-21 11:21:27 +02:00 committed by Pavol Rusnak
parent 0317877297
commit c9348709e8

View File

@ -462,8 +462,9 @@ bool nem_fsmMosaicCreation(nem_transaction_ctx *context,
mosaic_creation->definition.supply,
mosaic_creation->definition.mutable_supply,
mosaic_creation->definition.transferable,
mosaic_creation->definition.levy, mosaic_creation->definition.fee,
mosaic_creation->definition.levy_address,
mosaic_creation->definition.has_levy ? mosaic_creation->definition.levy
: 0,
mosaic_creation->definition.fee, mosaic_creation->definition.levy_address,
mosaic_creation->definition.levy_namespace,
mosaic_creation->definition.levy_mosaic, mosaic_creation->sink,
mosaic_creation->fee);