diff --git a/src/rpc/masternode.cpp b/src/rpc/masternode.cpp index ee5fcbdea0..cecaa6cbfb 100644 --- a/src/rpc/masternode.cpp +++ b/src/rpc/masternode.cpp @@ -3,6 +3,7 @@ // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include +#include #include #include #include @@ -406,6 +407,11 @@ static RPCHelpMan masternode_payments() if (tx->IsCoinBase()) { continue; } + if (tx->IsPlatformTransfer()) { + nBlockFees += CHECK_NONFATAL(GetTxPayload(*tx))->getFee(); + continue; + } + CAmount nValueIn{0}; for (const auto& txin : tx->vin) { uint256 blockHashTmp;