hledger-flow: coinbase: allow 1INCH parsing

This commit is contained in:
2024-06-10 18:03:55 -07:00
parent ce61e854ae
commit 71960c106a

View File

@@ -85,6 +85,9 @@ function __parse()
sub(/Z/, "", $9);
sub(/\+.*/, "", $9);
# Allow numerical symbols
gsub(/1INCH/, "ONEINCH")
# Print for rules consumption
printf $1 OFS # account_id (prepended column)
printf $2 OFS # id (coinbase_id)