bcalc

cli bitcoin unit calculator
git clone git://jb55.com/bcalc
Log | Files | Refs | README | LICENSE

commit e2f92ff60ce794f7d50f3b838dd703aa4d0e157f
parent e369e7830e1e80d7e3dd56b62b1e52f3bf7ea1c4
Author: William Casarin <jb55@jb55.com>
Date:   Tue, 19 Dec 2017 10:57:32 -0800

ocd: remote some padding

Diffstat:
Mbcalc.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/bcalc.c b/bcalc.c @@ -24,7 +24,6 @@ static void print_unit(command_t *self) { \ ((struct settings*)self->data)->print_unit = 1; \ } - format_setting(btc, UNIT_BTC) format_setting(mbtc, UNIT_MBTC) format_setting(bits, UNIT_BITS) @@ -32,8 +31,6 @@ format_setting(finney, UNIT_FINNEY) format_setting(sat, UNIT_SATOSHI) format_setting(msat, UNIT_MSATOSHI) - - int main(int argc, char *argv[argc]) { command_t cmd; struct settings settings = { .print_unit = 0, .format = UNIT_SATOSHI };