Skip to content

Commit ddc85de

Browse files
two-heartripatel-fd
authored andcommitted
storei: use array union member for memcpy
1 parent ac2dd22 commit ddc85de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/discof/store/fd_storei_tile.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ after_credit( fd_store_tile_ctx_t * ctx,
541541
FD_LOG_ERR(( "Wen-restart cannot get the block hash of HeaviestForkSlot %lu", ctx->restart_heaviest_fork_slot ));
542542
}
543543
fd_funk_txn_xid_t xid;
544-
fd_memcpy( &xid, &blk_hash, sizeof(fd_funk_txn_xid_t) );
544+
fd_memcpy( &xid, blk_hash.uc, sizeof(fd_funk_txn_xid_t) );
545545
xid.ul[0] = ctx->restart_heaviest_fork_slot;
546546

547547
/* Send xid to restart tile */

0 commit comments

Comments
 (0)