Closed chedieck closed 2 weeks ago
the value header can't have the coin since paybuttons can have more than one type of address, and thus the export can include BCH and XEC txs.
But I think having the (USD)
on the value should be enough, since we already have the address that received the tx saying if the value would be XEC or BCH.
PS: I still think we should at least put the units in the headings, like:
amount (USD)
andvalue (XEC)
(orvalue (BCH)
)a lot more clarity in exchange for a few characters —the implicit difference that exists here between the words "amount" and "value" is something that we essentially bred inside our own codebase.
And even when used/interpreted by "codebase people", as shown by earlier my misunderstanding, it still can lead to confusion.
Originally posted by @chedieck in https://github.com/PayButton/paybutton-server/pull/849#pullrequestreview-2271072168