tongo icon indicating copy to clipboard operation
tongo copied to clipboard

refactor: return nil when error has already been checked

Open TechVest opened this issue 7 months ago • 0 comments

Since we have already checked err before and returned when err != nil, err must be nil here. Return nil directly to make the code clearer.

Keep consistent with https://github.com/tonkeeper/tongo/blob/master/boc/cell.go#L132

TechVest avatar Mar 10 '25 13:03 TechVest