mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-18 09:35:49 +00:00
charge peers for sending emitted txns over wire
This commit is contained in:
@@ -1546,7 +1546,7 @@ PeerImp::handleTransaction(
|
||||
if (stx->isFieldPresent(sfEmitDetails))
|
||||
{
|
||||
JLOG(p_journal_.warn()) << "Ignoring Network relayed Tx containing sfEmitDetails (handleTransaction).";
|
||||
//fee_ = Resource::feeHighBurdenPeer; // RH TODO: enable when relay bug is fixed
|
||||
fee_ = Resource::feeHighBurdenPeer;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -3066,7 +3066,7 @@ PeerImp::checkTransaction(
|
||||
if (stx->isFieldPresent(sfEmitDetails))
|
||||
{
|
||||
JLOG(p_journal_.warn()) << "Ignoring Network relayed Tx containing sfEmitDetails (checkSignature).";
|
||||
//charge(Resource::feeHighBurdenPeer); //RH TODO: enable this charging when relay bug fix
|
||||
charge(Resource::feeHighBurdenPeer);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user