diff --git a/rpcserver.go b/rpcserver.go index bad1c0c4..ab27e6e5 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -1399,7 +1399,7 @@ func handleSendRawTransaction(s *rpcServer, cmd btcjson.Cmd) (interface{}, error } err = btcjson.Error{ Code: btcjson.ErrDeserialization.Code, - Message: "TX rejected", + Message: fmt.Sprintf("TX rejected: %v", err), } return nil, err }