Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
chris124567 committed Jan 19, 2024
1 parent 8c5b071 commit 556616a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/txn.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

// macros for converting raw bytes to uint64_t
#define U8BE(buf, off) \
(((uint64_t) (U4BE(buf, off)) << 32) | ((uint64_t) (U4BE(buf, off + 4)) & 0xFFFFFFFF))
(((uint64_t)(U4BE(buf, off)) << 32) | ((uint64_t)(U4BE(buf, off + 4)) & 0xFFFFFFFF))
#define U8LE(buf, off) \
(((uint64_t) (U4LE(buf, off + 4)) << 32) | ((uint64_t) (U4LE(buf, off)) & 0xFFFFFFFF))
(((uint64_t)(U4LE(buf, off + 4)) << 32) | ((uint64_t)(U4LE(buf, off)) & 0xFFFFFFFF))

// txnDecoderState_e indicates a transaction decoder status
typedef enum {
Expand Down

0 comments on commit 556616a

Please sign in to comment.