MCPcopy Create free account
hub / github.com/SmartPool/smartpool-client / _max

Function _max

mtree/aug_mt.go:50–58  ·  view source on GitHub ↗
(a, b Counter)

Source from the content-addressed store, hash-verified

48}
49
50func _max(a, b Counter) Counter {
51 left := a.(*big.Int)
52 right := b.(*big.Int)
53 if left.Cmp(right) == 1 {
54 return left
55 } else {
56 return right
57 }
58}
59
60func _augModifier(data NodeData) {
61 dummy := data.(AugData)

Callers 1

_augHashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected