Branch: refs/heads/master
  Home:   https://github.com/conformal/btcd
  Commit: 790a4f5a6e2affcdfb9687e3473a0ed3662482c0
      
https://github.com/conformal/btcd/commit/790a4f5a6e2affcdfb9687e3473a0ed3662482c0
  Author: Josh Rickmar <[email protected]>
  Date:   2014-07-24 (Thu, 24 Jul 2014)

  Changed paths:
    M rpcserver.go

  Log Message:
  -----------
  Return nil for some spent gettxout outputs.

This change modifies the behavior of the gettxout RPC to match the
behavior of the reference client.  If a transaction output is spent by
a mined transaction, the handler will now return nil (JSON null).

While here, avoid indexing some slices multiple times, by creating a
local variable instead.


Reply via email to