endian: Fix cpu_to_be64 on big-endian
Commit 9e2c88b5 added an extra return (with an unconditional byteswap) in cpu_to_be64. This breaks on big-endian, where we shouldn't be byteswapping. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Showing
Please register or sign in to comment