mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-31 19:39:06 +00:00
fix null error when attempting to send using custom fees
This commit is contained in:
parent
befdb94b22
commit
62e1afb6cc
1 changed files with 1 additions and 1 deletions
|
@ -1930,7 +1930,7 @@ mixin ElectrumXInterface<T extends Bip39HDCurrency> on Bip39HDWallet<T> {
|
|||
Logging.instance
|
||||
.log("PREPARE SEND RESULT: $result", level: LogLevel.Info);
|
||||
|
||||
if (txData.fee!.raw.toInt() < txData.vSize!) {
|
||||
if (result.fee!.raw.toInt() < result.vSize!) {
|
||||
throw Exception(
|
||||
"Error in fee calculation: Transaction fee cannot be less than vSize");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue