提交 6b6e694a 编写于 作者: A Anton Perkov

buyram: don't charge fee to eosio account #3414

上级 3f4f32d1
......@@ -117,7 +117,7 @@ namespace eosiosystem {
{ payer, N(eosio.ram), quant_after_fee, std::string("buy ram") } );
}
if( fee.amount > 0 ) {
if( payer != N(eosio) && fee.amount > 0 ) {
INLINE_ACTION_SENDER(eosio::token, transfer)( N(eosio.token), {payer,N(active)},
{ payer, N(eosio.ramfee), fee, std::string("ram fee") } );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册