Commit 5977f903 authored by Sergei Zubov's avatar Sergei Zubov

Fix tx estimate fee

parent b3a96a4a
Pipeline #133 passed with stage
in 3 minutes and 13 seconds
...@@ -120,10 +120,10 @@ namespace Stratis.Bitcoin.Features.Wallet.Controllers ...@@ -120,10 +120,10 @@ namespace Stratis.Bitcoin.Features.Wallet.Controllers
Amount = recipientModel.Amount Amount = recipientModel.Amount
}); });
var context = new TransactionBuildContext(this._network) var context = new DeStreamTransactionBuildContext(new DeStreamTransactionBuilder(this._network))
{ {
AccountReference = new WalletAccountReference(request.WalletName, request.AccountName), AccountReference = new WalletAccountReference(request.WalletName, request.AccountName),
FeeType = FeeParser.Parse(request.FeeType), FeeType = 0,
MinConfirmations = request.AllowUnconfirmed ? 0 : 1, MinConfirmations = request.AllowUnconfirmed ? 0 : 1,
Recipients = recipients Recipients = recipients
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment