diff --git a/wire/towire.c b/wire/towire.c index eec8fbae2..62ddca0f1 100644 --- a/wire/towire.c +++ b/wire/towire.c @@ -40,7 +40,7 @@ void towire_u64(u8 **pptr, u64 v) void towire_bool(u8 **pptr, bool v) { - u8 val = !!v; + u8 val = v; towire(pptr, &val, sizeof(val)); }