tongo
tongo copied to clipboard
refactor: return nil when error has already been checked
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