withdraw is working
This commit is contained in:
parent
e79886030d
commit
e7c22d812d
2 changed files with 2 additions and 2 deletions
|
|
@ -222,7 +222,7 @@ void sidechain_net_handler::process_withdrawals() {
|
|||
swwp_op.son_wallet_withdraw_id = swwo.id;
|
||||
|
||||
asset_reserve_operation r_op;
|
||||
r_op.fee = asset(200000);
|
||||
r_op.fee = asset(2001000);
|
||||
r_op.payer = gpo.parameters.son_account();
|
||||
asset_object btc_asset_obj = gpo.parameters.btc_asset()(database);
|
||||
r_op.amount_to_reserve = btc_asset_obj.amount(swwo.withdraw_amount);
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ void sidechain_net_handler_peerplays::on_applied_block(const signed_block &b) {
|
|||
sed.sidechain_amount = transfer_op.amount.amount;
|
||||
sed.peerplays_from = transfer_op.from;
|
||||
sed.peerplays_to = transfer_op.to;
|
||||
sed.peerplays_asset = transfer_op.amount.amount;
|
||||
sed.peerplays_asset = transfer_op.amount;
|
||||
sidechain_event_data_received(sed);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue