Permalink
Browse files

Fixed error in getreceivedbyaddress and getreceivedbyaccount.

  • Loading branch information...
1 parent 9ebcd0d commit de25d1b5b0c82a25bbc3f344196f689dd2a37a89 @ryepdx committed Jun 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 apps/bitcoind/views.py
View
@@ -271,7 +271,7 @@ def getreceivedbyaddress(request, bitcoinaddress, minconf=1):
- *minconf* -- Number of confirmations to require, defaults to 1.
"""
try:
- return conn.getreceivedbyaddress(bitcoinaddress, minconf)
+ return conn.getreceivedbyaddress(bitcoinaddress, minconf).__dict__
except JSONRPCException, e:
raise _wrap_exception(e.error)
@@ -290,7 +290,7 @@ def getreceivedbyaccount(request, label, minconf=1):
"""
try:
account = util.getaccount(request.user, label)
- return conn.getreceivedbyaccount(account, minconf)
+ return conn.getreceivedbyaccount(account, minconf).__dict__
except JSONRPCException, e:
raise _wrap_exception(e.error)

0 comments on commit de25d1b

Please sign in to comment.