File tree 2 files changed +6
-0
lines changed
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,11 @@ CDeterministicMNCPtr CDeterministicMNList::GetValidMNByCollateral(const COutPoin
168
168
return dmn;
169
169
}
170
170
171
+ CDeterministicMNCPtr CDeterministicMNList::GetValidMNByService (const CService& service) const
172
+ {
173
+ return GetUniquePropertyMN (service);
174
+ }
175
+
171
176
static int CompareByLastPaid_GetHeight (const CDeterministicMN& dmn)
172
177
{
173
178
int height = dmn.pdmnState ->nLastPaidHeight ;
Original file line number Diff line number Diff line change @@ -306,6 +306,7 @@ class CDeterministicMNList
306
306
CDeterministicMNCPtr GetMNByOperatorKey (const CBLSPublicKey& pubKey);
307
307
CDeterministicMNCPtr GetMNByCollateral (const COutPoint& collateralOutpoint) const ;
308
308
CDeterministicMNCPtr GetValidMNByCollateral (const COutPoint& collateralOutpoint) const ;
309
+ CDeterministicMNCPtr GetValidMNByService (const CService& service) const ;
309
310
CDeterministicMNCPtr GetMNPayee () const ;
310
311
311
312
/* *
You can’t perform that action at this time.
0 commit comments