Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
remove self donations
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere committed Oct 31, 2023
1 parent b8ac674 commit 01140a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/notifiers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ void pomelo::on_transfer( const name from, const name to, const asset quantity,
require_auth( from );

// ignore outgoing/RAM/self-funding transfers
if ( to != get_self() || memo == get_self().to_string() || from == "eosio.ram"_n ) return;
if ( to != get_self() || from == "eosio.ram"_n ) return;

// parse memo
const auto [ bounty_id, user_id ] = parse_memo(memo);
Expand Down

0 comments on commit 01140a4

Please sign in to comment.