File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -143,11 +143,11 @@ void add_address_lookup_table( fd_funk_t * funk,
143143
144144 /* Append an address lookup table after txn_payload */
145145 fd_txn_acct_addr_lut_t alt = {
146- .addr_off = in_payload_sz + sizeof (fd_txn_acct_addr_lut_t ),
147- .writable_cnt = 1 ,
148- .readonly_cnt = 1 ,
149- .writable_off = in_payload_sz + sizeof (fd_txn_acct_addr_lut_t )+ sizeof (fd_acct_addr_t ),
150- .readonly_off = in_payload_sz + sizeof (fd_txn_acct_addr_lut_t )+ sizeof (fd_acct_addr_t )+ sizeof (uchar )
146+ .addr_off = ( ushort )( in_payload_sz + sizeof (fd_txn_acct_addr_lut_t ) ),
147+ .writable_cnt = ( ushort ) 1 ,
148+ .readonly_cnt = ( ushort ) 1 ,
149+ .writable_off = ( ushort )( in_payload_sz + sizeof (fd_txn_acct_addr_lut_t )+ sizeof (fd_acct_addr_t ) ),
150+ .readonly_off = ( ushort )( in_payload_sz + sizeof (fd_txn_acct_addr_lut_t )+ sizeof (fd_acct_addr_t )+ sizeof (uchar ) )
151151 };
152152 /* original txn binary lookup table struct lookup table address address indexes */
153153 //uchar txn_with_alt[ in_payload +sizeof(fd_txn_acct_addr_lut_t)+sizeof(fd_acct_addr_t)+sizeof(uchar)*2 ];
You can’t perform that action at this time.
0 commit comments