We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c05699 commit 46b8883Copy full SHA for 46b8883
src/flamenco/runtime/tests/fd_dump_pb.c
@@ -273,6 +273,9 @@ dump_sanitized_transaction( fd_funk_t * funk,
273
fd_acct_addr_t const * account_keys = fd_txn_get_acct_addrs( txn_descriptor, txn_payload );
274
for( ulong i = 0; i < txn_descriptor->acct_addr_cnt; i++ ) {
275
pb_bytes_array_t * account_key = fd_spad_alloc( spad, alignof(pb_bytes_array_t), PB_BYTES_ARRAY_T_ALLOCSIZE(sizeof(fd_pubkey_t)) );
276
+ if( FD_UNLIKELY( NULL == account_key ) ) {
277
+ FD_LOG_ERR(( "fd_spad_alloc failed" ));
278
+ }
279
account_key->size = sizeof(fd_pubkey_t);
280
memcpy( account_key->bytes, &account_keys[i], sizeof(fd_pubkey_t) );
281
message->account_keys[i] = account_key;
0 commit comments