Fix a typo.

This commit is contained in:
Josh Rickmar 2015-04-17 11:14:00 -04:00
parent a4a52ae24f
commit 5131b5e390

View file

@ -44,7 +44,7 @@ func NewRPCError(code RPCErrorCode, message string) *RPCError {
// requests, responses, or notifications) is valid. JSON-RPC 1.0 allows any
// valid JSON type. JSON-RPC 2.0 (which bitcoind follows for some parts) only
// allows string, number, or null, so this function restricts the allowed types
// to that list. This funciton is only provided in case the caller is manually
// to that list. This function is only provided in case the caller is manually
// marshalling for some reason. The functions which accept an ID in this
// package already call this function to ensure the provided id is valid.
func IsValidIDType(id interface{}) bool {