ref: b311560f2cf6be56677ccf75d96a9c9b6fda2b1c
parent: 4cebfdaed387e8d208a654265a3101194d095348
author: Michael Forney <mforney@mforney.org>
date: Fri Mar 4 00:28:55 EST 2022
cons: parse block addresses in hex
--- a/cons.c
+++ b/cons.c
@@ -230,7 +230,7 @@
{
Bptr bp;
- bp.addr = atoll(ap[0]);
+ bp.addr = strtoll(ap[0], nil, 16);
bp.hash = -1;
bp.gen = -1;
showbp(fd, bp, 0);