small fixes
This commit is contained in:
parent
11722fed0c
commit
5fae99b814
1 changed files with 1 additions and 1 deletions
|
|
@ -1454,7 +1454,7 @@ std::string sidechain_net_handler_bitcoin::create_withdrawal_transaction(const s
|
|||
fc::flat_map<std::string, double> outputs;
|
||||
outputs[swwo.withdraw_address] = swwo.withdraw_amount.value / 100000000.0;
|
||||
if ((total_amount - fee_rate) > 0.0) {
|
||||
outputs[pw_address] = double(total_amount - fee_rate) / 100000000.0;
|
||||
outputs[pw_address] = double(total_amount - swwo.withdraw_amount.value - fee_rate) / 100000000.0;
|
||||
}
|
||||
|
||||
return create_transaction(inputs, outputs);
|
||||
|
|
|
|||
Loading…
Reference in a new issue