File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -408,22 +408,6 @@ bool MasterNodeWizardDialog::createMN()
408408 std::string ipAddress = addressStr.toStdString ();
409409 std::string port = portStr.toStdString ();
410410
411- // Look for a valid collateral utxo
412- COutPoint collateralOut;
413-
414- if (!walletModel->getMNCollateralCandidate (collateralOut)) {
415- // New receive address
416- auto r = walletModel->getNewAddress (alias);
417- if (!r) return errorOut (tr (r.getError ().c_str ()));
418- if (!mnModel->createMNCollateral (addressLabel,
419- QString::fromStdString (r.getObjResult ()->ToString ()),
420- collateralOut,
421- returnStr)) {
422- // error str set internally
423- return false ;
424- }
425- }
426-
427411 if (isDeterministic) {
428412 auto opOwnerAddrAndKeyId = getOrCreateOwnerAddress (alias);
429413 if (!opOwnerAddrAndKeyId.getRes ()) {
You can’t perform that action at this time.
0 commit comments