mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 11:59:30 +00:00
use tx ver # in paynym interface
RIP
This commit is contained in:
parent
88f462f43e
commit
42ab07a586
1 changed files with 3 additions and 2 deletions
|
@ -10,6 +10,8 @@ import 'package:bitcoindart/src/utils/script.dart' as bscript;
|
||||||
import 'package:coinlib_flutter/coinlib_flutter.dart' as coinlib;
|
import 'package:coinlib_flutter/coinlib_flutter.dart' as coinlib;
|
||||||
import 'package:isar/isar.dart';
|
import 'package:isar/isar.dart';
|
||||||
import 'package:pointycastle/digests/sha256.dart';
|
import 'package:pointycastle/digests/sha256.dart';
|
||||||
|
import 'package:tuple/tuple.dart';
|
||||||
|
|
||||||
import '../../../exceptions/wallet/insufficient_balance_exception.dart';
|
import '../../../exceptions/wallet/insufficient_balance_exception.dart';
|
||||||
import '../../../exceptions/wallet/paynym_send_exception.dart';
|
import '../../../exceptions/wallet/paynym_send_exception.dart';
|
||||||
import '../../../models/isar/models/blockchain_data/v2/input_v2.dart';
|
import '../../../models/isar/models/blockchain_data/v2/input_v2.dart';
|
||||||
|
@ -29,7 +31,6 @@ import '../../crypto_currency/interfaces/paynym_currency_interface.dart';
|
||||||
import '../../models/tx_data.dart';
|
import '../../models/tx_data.dart';
|
||||||
import '../intermediate/bip39_hd_wallet.dart';
|
import '../intermediate/bip39_hd_wallet.dart';
|
||||||
import 'electrumx_interface.dart';
|
import 'electrumx_interface.dart';
|
||||||
import 'package:tuple/tuple.dart';
|
|
||||||
|
|
||||||
const String kPCodeKeyPrefix = "pCode_key_";
|
const String kPCodeKeyPrefix = "pCode_key_";
|
||||||
|
|
||||||
|
@ -750,7 +751,7 @@ mixin PaynymInterface<T extends PaynymCurrencyInterface>
|
||||||
final List<coinlib.Output> prevOuts = [];
|
final List<coinlib.Output> prevOuts = [];
|
||||||
|
|
||||||
coinlib.Transaction clTx = coinlib.Transaction(
|
coinlib.Transaction clTx = coinlib.Transaction(
|
||||||
version: 1,
|
version: cryptoCurrency.transactionVersion,
|
||||||
inputs: [],
|
inputs: [],
|
||||||
outputs: [],
|
outputs: [],
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue