Skip to content

Commit

Permalink
stores: fix TestUpdateObjectReuseSlab
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Sep 5, 2024
1 parent 03c3b3d commit 128fe18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stores/sql/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -1909,7 +1909,7 @@ func QueryContracts(ctx context.Context, tx sql.Tx, whereExprs []string, whereAr
SELECT c.fcid, c.renewed_from, c.contract_price, c.state, c.total_cost, c.proof_height,
c.revision_height, c.revision_number, c.size, c.start_height, c.window_start, c.window_end,
c.upload_spending, c.download_spending, c.fund_account_spending, c.delete_spending, c.list_spending,
COALESCE(cs.name, ""), h.net_address, h.public_key, h.settings->>'$.siamuxport' AS siamux_port
COALESCE(cs.name, ""), h.net_address, h.public_key, COALESCE(h.settings->>'$.siamuxport', "") AS siamux_port
FROM contracts AS c
INNER JOIN hosts h ON h.id = c.host_id
LEFT JOIN contract_set_contracts csc ON csc.db_contract_id = c.id
Expand Down

0 comments on commit 128fe18

Please sign in to comment.