Skip to content

Commit

Permalink
actually log the sale
Browse files Browse the repository at this point in the history
  • Loading branch information
cthacker committed Nov 21, 2019
1 parent d72ccf0 commit 876f4c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dgoods.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,9 @@ void dgoods::buynft(const name& from,
const auto& locked_nft = lock_table.get( dgood_id, "dgood not found in lock table" );
lock_table.erase( locked_nft );
}

SEND_INLINE_ACTION( *this, logsale, { { get_self(), "active"_n } }, { ask.dgood_ids, ask.seller, from, to_account } );

// remove sale listing
ask_table.erase( ask );
}
Expand Down

0 comments on commit 876f4c5

Please sign in to comment.