Skip to content

Commit c87c8ac

Browse files
committed
Rename dynafed_block method for clarity
1 parent 3b47724 commit c87c8ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/chain.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ class CBlockIndex
230230
return proof.value();
231231
}
232232

233-
bool dynafed_block() const {
233+
bool is_dynafed_block() const {
234234
if (m_trimmed) {
235235
return m_trimmed_dynafed_block;
236236
}

src/rpc/blockchain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ UniValue blockheaderToJSON(const CBlockIndex* tip, const CBlockIndex* blockindex
248248
result.pushKV("difficulty", GetDifficulty(blockindex));
249249
result.pushKV("chainwork", blockindex->nChainWork.GetHex());
250250
} else {
251-
if (!blockindex->dynafed_block()) {
251+
if (!blockindex->is_dynafed_block()) {
252252
if (blockindex->trimmed()) {
253253
result.pushKV("signblock_witness_asm", "<trimmed>");
254254
result.pushKV("signblock_witness_hex", "<trimmed>");

0 commit comments

Comments
 (0)