File tree 6 files changed +6
-6
lines changed
6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -691,7 +691,7 @@ export async function upload({
691
691
// Compile a sorted list of assets which need to be uploaded.
692
692
const dedupedAssetKeys = getAssetKeysNeedingUpload ( cache . items , files ) ;
693
693
694
- // Initialize variables that might be needed for uploded depending on storage
694
+ // Initialize variables that might be needed for uploaded depending on storage
695
695
// type.
696
696
// These will be needed anyway either to initialize the
697
697
// Candy Machine Custom Program configuration, or to write the assets
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export const sendTransactionWithRetryWithKeypair = async (
40
40
transaction . setSigners ( ...signers . map ( s => s . publicKey ) ) ;
41
41
} else {
42
42
transaction . setSigners (
43
- // fee payed by the wallet owner
43
+ // fee paid by the wallet owner
44
44
wallet . publicKey ,
45
45
...signers . map ( s => s . publicKey ) ,
46
46
) ;
Original file line number Diff line number Diff line change @@ -744,7 +744,7 @@ export const withdrawBundlr = async (walletKeyPair: Keypair) => {
744
744
} else if ( withdrawResponse . status == 400 ) {
745
745
log . info ( withdrawResponse . data ) ;
746
746
log . info (
747
- 'Withdraw unsucessful . An additional attempt will be made after all files are uploaded.' ,
747
+ 'Withdraw unsuccessful . An additional attempt will be made after all files are uploaded.' ,
748
748
) ;
749
749
}
750
750
} catch ( err ) {
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export async function* nftStorageUploadGenerator({
50
50
} ) : AsyncGenerator < NftStorageBundleUploadResult > {
51
51
// split asset keys into batches, each of which will be bundled into a CAR file and uploaded separately
52
52
// default to 50 NFTs per "batch" if no batchSize is given.
53
- // larger batches require fewer signatures and will be slightly faster overall if everything is sucessful ,
53
+ // larger batches require fewer signatures and will be slightly faster overall if everything is successful ,
54
54
// but smaller batches will take less time to retry if there's an error during upload.
55
55
batchSize = batchSize || 50 ;
56
56
batchSize = Math . min ( batchSize , NFTBundle . MAX_ENTRIES ) ;
Original file line number Diff line number Diff line change @@ -456,7 +456,7 @@ fn main() -> Result<(), error::Error> {
456
456
}
457
457
} ;
458
458
459
- // Send builded transactions
459
+ // Send built transactions
460
460
if let Some ( txs_bundle) = txs_data {
461
461
for ( tx, ui_info) in txs_bundle {
462
462
client. send_and_confirm_transaction ( & tx) ?;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use anchor_lang::{
8
8
use mpl_token_metadata:: state:: EDITION_MARKER_BIT_SIZE ;
9
9
10
10
pub const NAME_MAX_LEN : usize = 40 ; // max len of a string buffer in bytes
11
- pub const NAME_DEFAULT_SIZE : usize = 4 + NAME_MAX_LEN ; // max lenght of serialized string (str_len + <buffer>)
11
+ pub const NAME_DEFAULT_SIZE : usize = 4 + NAME_MAX_LEN ; // max length of serialized string (str_len + <buffer>)
12
12
pub const DESCRIPTION_MAX_LEN : usize = 60 ;
13
13
pub const DESCRIPTION_DEFAULT_SIZE : usize = 4 + DESCRIPTION_MAX_LEN ;
14
14
pub const HOLDER_PREFIX : & str = "holder" ;
You can’t perform that action at this time.
0 commit comments