mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-16 17:27:39 +00:00
change bch and ecash tx ver #s to 2 and use it in the bcash interface
This commit is contained in:
parent
42ab07a586
commit
6f4b3a76ac
3 changed files with 4 additions and 2 deletions
|
@ -366,5 +366,5 @@ class Bitcoincash extends Bip39HDCurrency with ElectrumXCurrencyInterface {
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
int get transactionVersion => 1;
|
int get transactionVersion => 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -340,5 +340,5 @@ class Ecash extends Bip39HDCurrency with ElectrumXCurrencyInterface {
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
int get transactionVersion => 1;
|
int get transactionVersion => 2;
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,6 +30,8 @@ mixin BCashInterface<T extends ElectrumXCurrencyInterface>
|
||||||
testnet: cryptoCurrency.network == CryptoCurrencyNetwork.test,
|
testnet: cryptoCurrency.network == CryptoCurrencyNetwork.test,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
builder.setVersion(cryptoCurrency.transactionVersion);
|
||||||
|
|
||||||
// temp tx data to show in gui while waiting for real data from server
|
// temp tx data to show in gui while waiting for real data from server
|
||||||
final List<InputV2> tempInputs = [];
|
final List<InputV2> tempInputs = [];
|
||||||
final List<OutputV2> tempOutputs = [];
|
final List<OutputV2> tempOutputs = [];
|
||||||
|
|
Loading…
Reference in a new issue