Page MenuHomePhabricator

Call CHECK_NONFATAL only once where needed
ClosedPublic

Authored by PiRK on Feb 2 2023, 14:53.

Details

Reviewers
sdulfari
Fabien
Group Reviewers
Restricted Project
Commits
rABC1203360d8a45: Call CHECK_NONFATAL only once where needed
Summary

This is a backport of core#24956

Depends on D13097

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Feb 2 2023, 14:53
sdulfari requested changes to this revision.Feb 2 2023, 19:44
sdulfari added a subscriber: sdulfari.
sdulfari added inline comments.
src/rpc/blockchain.cpp
1895 ↗(On Diff #37798)

cleanup to match the backport

This revision now requires changes to proceed.Feb 2 2023, 19:44

remove unnecessary double cast, GetDifficulty already returns a double

This revision is now accepted and ready to land.Feb 7 2023, 00:38