bugfix: correctly return error code.
bugfix: correctly return error code.

BWallet/sx,tuomassiren/libbitcoin-explorer,cancoin/libbitcoin-explorer,GroestlCoin/libgroestlcoin-explorer,tuomassiren/libbitcoin-explorer,GroestlCoin/libgroestlcoin-explorer,libmetrocoin/libmetrocoin-explorer,libtetcoin/libtetcoin-explorer,kaostao/sx,BWallet/sx,kaostao/sx,cancoin/libbitcoin-explorer,ryancdotorg/sx,ryancdotorg/sx,ryancdotorg/sx,kaostao/sx,libtetcoin/libtetcoin-explorer,GroestlCoin/libgroestlcoin-explorer,BWallet/sx,libmetrocoin/libmetrocoin-explorer