Skip to content

Commit 8c21a49

Browse files
Skip coinstake for block stats
1 parent 3a6c059 commit 8c21a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rpc/blockchain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1975,7 +1975,7 @@ static RPCHelpMan getblockstats()
19751975
}
19761976
}
19771977

1978-
if (tx->IsCoinBase()) {
1978+
if (tx->IsCoinBase() || tx->IsCoinStake()) {
19791979
continue;
19801980
}
19811981

0 commit comments

Comments
 (0)