mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
remove unnecessary toHex
cleaning up diff for stashing etc purposes
This commit is contained in:
parent
9ff323393e
commit
656b301754
1 changed files with 2 additions and 4 deletions
|
@ -4,7 +4,6 @@ import 'package:flutter_libsparkmobile/flutter_libsparkmobile.dart';
|
|||
import 'package:isar/isar.dart';
|
||||
import 'package:stackwallet/models/isar/models/blockchain_data/address.dart';
|
||||
import 'package:stackwallet/utilities/amount/amount.dart';
|
||||
import 'package:stackwallet/utilities/extensions/impl/uint8_list.dart';
|
||||
import 'package:stackwallet/wallets/crypto_currency/crypto_currency.dart';
|
||||
import 'package:stackwallet/wallets/isar/models/spark_coin.dart';
|
||||
import 'package:stackwallet/wallets/models/tx_data.dart';
|
||||
|
@ -205,12 +204,11 @@ mixin SparkInterface on Bip39HDWallet, ElectrumXInterface {
|
|||
SparkCoin(
|
||||
walletId: walletId,
|
||||
type: coinType,
|
||||
isUsed: spentCoinTags
|
||||
.contains(coin.lTagHash!.toHex), // TODO: is hex right?
|
||||
isUsed: spentCoinTags.contains(coin.lTagHash!),
|
||||
address: coin.address!,
|
||||
txHash: txHash,
|
||||
valueIntString: coin.value!.toString(),
|
||||
lTagHash: coin.lTagHash!.toHex, // TODO: is hex right?
|
||||
lTagHash: coin.lTagHash!,
|
||||
tag: coin.tag,
|
||||
memo: coin.memo,
|
||||
serial: coin.serial,
|
||||
|
|
Loading…
Reference in a new issue