Fix several typos in documentation and comments.

This commit is contained in:
Josh Rickmar 2016-02-12 11:58:38 -05:00
parent da145968c4
commit 4171638553
2 changed files with 4 additions and 4 deletions

View file

@ -181,7 +181,7 @@ publishing transactions to the Bitcoin network.
- `string network_address`: The host/IP and optional port of the RPC server to - `string network_address`: The host/IP and optional port of the RPC server to
connect to. IP addresses may be IPv4 or IPv6. If the port is missing, a connect to. IP addresses may be IPv4 or IPv6. If the port is missing, a
default port is chosen cooresponding to the default btcd RPC port of the default port is chosen corresponding to the default btcd RPC port of the
active Bitcoin network. active Bitcoin network.
- `string username`: The RPC username required to authenticate to the RPC - `string username`: The RPC username required to authenticate to the RPC
@ -753,7 +753,7 @@ regarding changes to the blockchain and transactions relevant to the wallet.
- `repeated BlockDetails attached_blocks`: A list of blocks attached to the main - `repeated BlockDetails attached_blocks`: A list of blocks attached to the main
chain, sorted by increasing height. All newly mined transactions are included chain, sorted by increasing height. All newly mined transactions are included
in these messages, in the message cooresponding to the block that contains in these messages, in the message corresponding to the block that contains
them. If this field has zero length, the notification is due to an unmined them. If this field has zero length, the notification is due to an unmined
transaction being added to the wallet. transaction being added to the wallet.
@ -912,7 +912,7 @@ transaction was seen.
- `int64 previous_amount`: The previous output value. - `int64 previous_amount`: The previous output value.
- `repeated Output outputs`: Properties for every transaction output. Every - `repeated Output outputs`: Properties for every transaction output. Every
transaction output has a cooresponding properties message in this repeated transaction output has a corresponding properties message in this repeated
field. field.
**Nested message:** `Output` **Nested message:** `Output`

View file

@ -793,7 +793,7 @@ func readUnspentBlock(v []byte, block *Block) error {
return nil return nil
} }
// existsUnspent returns the key for the unspent output and the cooresponding // existsUnspent returns the key for the unspent output and the corresponding
// key for the credits bucket. If there is no unspent output recorded, the // key for the credits bucket. If there is no unspent output recorded, the
// credit key is nil. // credit key is nil.
func existsUnspent(ns walletdb.Bucket, outPoint *wire.OutPoint) (k, credKey []byte) { func existsUnspent(ns walletdb.Bucket, outPoint *wire.OutPoint) (k, credKey []byte) {