Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: finaltrip <[email protected]>
  • Loading branch information
finaltrip committed Jun 3, 2024
1 parent 5548ba6 commit 1589c7f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/guides/account.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ console.log(msg.from);

## HD Wallet

If you want to use account from mnemonic, there is a independent package `@conflux-dev/hdwallet` can fullfill your requirements.
If you want to use account from mnemonic, there is a independent package `@conflux-dev/hdwallet` can fulfill your requirements.

First step is install it by npm

Expand Down
4 changes: 2 additions & 2 deletions docs/guides/how_to_send_tx.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ When sending transaction if you specify the `gasPrice` it will be used, if not i

If both `gasPrice` and `defaultGasPrice` is not specified, the SDK will fill the result of `getGasPrice()` to it.

Currentlly set the gasPrice to `1 Drip` will enough to send most transactions.
Currently set the gasPrice to `1 Drip` will enough to send most transactions.

### `gas`

Expand Down Expand Up @@ -244,7 +244,7 @@ main();

### Why my transaction is always pending ?

If your transaction alway pending in the pool, normally you have use a incorrect `nonce` or your `balance` is not enough. You can get the transaction info by it's hash, and check it's nonce with your account's nonce, and check your balance is enough to cover the value + gasPrice \* gas + storageLimit.
If your transaction always pending in the pool, normally you have use a incorrect `nonce` or your `balance` is not enough. You can get the transaction info by it's hash, and check it's nonce with your account's nonce, and check your balance is enough to cover the value + gasPrice \* gas + storageLimit.

### Why my transaction failed?

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/interact_with_contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ console.log(decoded);

### BigNumber

> Note: when interacting with contract and if your parameter is bigger than `Number.MAX_SAFE_INTEGER`, you should use string represention of the number or BigInt.
> Note: when interacting with contract and if your parameter is bigger than `Number.MAX_SAFE_INTEGER`, you should use string representation of the number or BigInt.
```javascript
// use string
Expand Down

0 comments on commit 1589c7f

Please sign in to comment.