keep old usage of per_kb_fee functional

This commit is contained in:
j-berman
2022-02-21 20:12:25 -05:00
committed by Lee *!* Clagett
parent f027c15479
commit 04c6d553c6
3 changed files with 9 additions and 8 deletions

View File

@@ -294,7 +294,7 @@ namespace lws
return expand_outputs{src, self.user_key};
};
wire::object(dest,
WIRE_FIELD_COPY(per_byte_fee),
wire::field(self.use_per_byte_fee ? "per_byte_fee" : "per_kb_fee", self.base_fee),
WIRE_FIELD_COPY(fee_mask),
WIRE_FIELD_COPY(amount),
wire::field("outputs", wire::as_array(std::cref(self.outputs), expand))