From 4171638553284e6ca73285105f6e7c86471bb40b Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Fri, 12 Feb 2016 11:58:38 -0500 Subject: [PATCH] Fix several typos in documentation and comments. --- rpc/documentation/api.md | 6 +++--- wtxmgr/db.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rpc/documentation/api.md b/rpc/documentation/api.md index 12019bb..9dca050 100644 --- a/rpc/documentation/api.md +++ b/rpc/documentation/api.md @@ -181,7 +181,7 @@ publishing transactions to the Bitcoin network. - `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 - 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. - `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 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 transaction being added to the wallet. @@ -912,7 +912,7 @@ transaction was seen. - `int64 previous_amount`: The previous output value. - `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. **Nested message:** `Output` diff --git a/wtxmgr/db.go b/wtxmgr/db.go index 4b60b36..041370a 100644 --- a/wtxmgr/db.go +++ b/wtxmgr/db.go @@ -793,7 +793,7 @@ func readUnspentBlock(v []byte, block *Block) error { 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 // credit key is nil. func existsUnspent(ns walletdb.Bucket, outPoint *wire.OutPoint) (k, credKey []byte) {