FeePerUnit::FromFeeFrac

Convert a FeeFrac to a FeePerUnit.

Synopsis

Declared in <util/feefrac.h>

static
FeePerUnit
FromFeeFrac(FeeFrac const& feefrac) noexcept;

Return Value

A FeePerUnit carrying the same fee and size.

Parameters

NameDescription
feefracThe FeeFrac to wrap.