Browse Source

added real owner inactivity time in heirinfo

pull/4/head
dimxy 5 years ago
parent
commit
e6f41e085e
  1. 8
      src/cc/heir.cpp

8
src/cc/heir.cpp

@ -1197,6 +1197,14 @@ UniValue HeirInfo(uint256 fundingtxid)
result.push_back(Pair("spending allowed for the heir", stream.str().c_str()));
stream.str("");
stream.clear();
// adding owner current inactivity time:
if (!hasHeirSpendingBegun && durationSec <= inactivityTimeSec) {
stream << durationSec;
result.push_back(Pair("owner inactivity time", stream.str().c_str()));
stream.str("");
stream.clear();
}
result.push_back(Pair("result", "success"));
}

Loading…
Cancel
Save