Skip to content

Commit

Permalink
fix {miner,client}id string conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangruber committed Jan 31, 2025
1 parent 09f6de2 commit 5a11ff0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/lib/spark-api-submit-deals.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ export const submitDealsToSparkApi = async (sparkApiBaseURL, sparkApiToken, deal
Authorization: `Bearer ${sparkApiToken}`
},
body: JSON.stringify(deals.map(deal => ({
minerId: deal.miner_id,
clientId: deal.client_id,
minerId: `f0${deal.miner_id}`,
clientId: `f0${deal.client_id}`,
pieceCid: deal.piece_cid,
pieceSize: deal.piece_size.toString(),
payloadCid: deal.payload_cid,
Expand Down

0 comments on commit 5a11ff0

Please sign in to comment.