File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/app/shared_dev/commands/configure Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ estimate_hashes_per_tick( ulong tick_mhz,
116
116
static ulong
117
117
create_genesis ( config_t const * config ,
118
118
uchar * blob ,
119
- ulong blob_sz ) {
119
+ ulong blob_max ) {
120
120
121
121
fd_genesis_options_t options [1 ];
122
122
@@ -204,7 +204,7 @@ create_genesis( config_t const * config,
204
204
fd_scratch_attach ( scratch_smem , scratch_fmem ,
205
205
sizeof (scratch_smem ), sizeof (scratch_fmem )/sizeof (ulong ) );
206
206
207
- ulong blob_len = fd_genesis_create ( blob , blob_sz , options );
207
+ ulong blob_sz = fd_genesis_create ( blob , blob_max , options );
208
208
if ( FD_UNLIKELY ( !blob_sz ) ) FD_LOG_ERR (( "Failed to create genesis blob" ));
209
209
210
210
fd_scratch_detach ( NULL );
@@ -214,7 +214,7 @@ create_genesis( config_t const * config,
214
214
fd_keyload_unload ( stake_pubkey_ , 1 );
215
215
fd_keyload_unload ( vote_pubkey_ , 1 );
216
216
217
- return blob_len ;
217
+ return blob_sz ;
218
218
}
219
219
220
220
static void
You can’t perform that action at this time.
0 commit comments