REST bank transfers fail due to encoding. (#6536)
Bank module REST endpoint bank/accounts/{addr}/transfers
was returning invalid StdTx format.
This commit is contained in:
+1
-1
@@ -188,7 +188,7 @@ func WriteGeneratedTxResponse(
|
||||
return
|
||||
}
|
||||
|
||||
output, err := ctx.JSONMarshaler.MarshalJSON(tx)
|
||||
output, err := ctx.JSONMarshaler.MarshalJSON(tx.GetTx())
|
||||
if rest.CheckInternalServerError(w, err) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user