Skip to content

Commit

Permalink
Merge pull request VIZ-Blockchain#67 from VIZ-Blockchain/dev-hf8
Browse files Browse the repository at this point in the history
Fix account_sale virtual operation on buy_account_evaluator
  • Loading branch information
On1x authored Nov 13, 2019
2 parents 2680b4a + 47b0d03 commit 416b79e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/chain/chain_evaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1612,7 +1612,7 @@ namespace graphene { namespace chain {
auth.last_master_update = _db.head_block_time();
});
_db.push_virtual_operation(
account_sale_operation(op.account,op.account_offer_price,op.buyer,account.account_seller));
account_sale_operation(op.account,op.account_offer_price,op.buyer,account_seller.name));
}
}
else{//not exist, try buy subaccount
Expand Down Expand Up @@ -1671,7 +1671,7 @@ namespace graphene { namespace chain {
_db.adjust_balance(buyer, -op.tokens_to_shares);
_db.create_vesting(new_account, op.tokens_to_shares);
_db.push_virtual_operation(
account_sale_operation(op.account,op.account_offer_price,op.buyer,account.subaccount_seller));
account_sale_operation(op.account,op.account_offer_price,op.buyer,account_seller.name));
}
}
else{
Expand Down

0 comments on commit 416b79e

Please sign in to comment.