File tree Expand file tree Collapse file tree
packages/neuron-wallet/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ export default class MultisigController {
112112 const network = NetworksService . getInstance ( ) . getCurrent ( )
113113 if ( params . startBlockNumber && network . type === NetworkType . Light ) {
114114 if ( config ?. startBlockNumber !== undefined && config . startBlockNumber > params . startBlockNumber ) {
115- // if set small than last, reset by set_script
115+ // if set smaller than last, reset by set_script
116116 this . resetMultisigSync ( config , params . startBlockNumber )
117117 }
118118 // if it's light client, restart queue task
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export default class Input {
1717 public data ?: string | null
1818 public status ?: OutputStatus
1919
20- // don't using = directly, using setXxx instead
20+ // don't use = directly, use setXxx instead
2121 // check hex string
2222 constructor (
2323 previousOutput : OutPoint | null ,
Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ export default class AddressService {
232232 receivingAddressCount : number = DefaultAddressNumber . Receiving ,
233233 changeAddressCount : number = DefaultAddressNumber . Change
234234 ) => {
235- // can be only receiving OR only change
235+ // can be either only receiving OR only change
236236 if ( receivingAddressCount < 1 && changeAddressCount < 1 ) {
237237 throw new Error ( 'Address number error.' )
238238 } else if ( receivingAddressCount > MAX_ADDRESS_COUNT || changeAddressCount > MAX_ADDRESS_COUNT ) {
Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ export default class CellsService {
366366 const currentNetwork = NetworksService . getInstance ( ) . getCurrent ( )
367367
368368 // https://github.com/nervosnetwork/neuron/blob/dbc5a5b46dc108f660c443d43aba54ea47e233ac/packages/neuron-wallet/src/services/tx/transaction-persistor.ts#L70
369- // datum in outputs has been sliced when sync
369+ // data in outputs has been sliced when sync
370370 // to make the Spore NFT data available,
371371 // we need to fetch it from RPC instead of database
372372 const rpc = generateRPC ( currentNetwork . remote , currentNetwork . type )
You can’t perform that action at this time.
0 commit comments