We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 478e982 commit 461d993Copy full SHA for 461d993
contracts/v0.8/cbor/MarketCbor.sol
@@ -277,9 +277,7 @@ library MarketCBOR {
277
(len, byteIdx) = rawResp.readFixedArray(byteIdx);
278
assert(len == 11);
279
280
- (tmp, byteIdx) = rawResp.readBytes(byteIdx);
281
- ret.piece_cid = CommonTypes.Cid(tmp);
282
-
+ (ret.piece_cid, byteIdx) = rawResp.readCid(byteIdx);
283
(ret.piece_size, byteIdx) = rawResp.readUInt64(byteIdx);
284
(ret.verified_deal, byteIdx) = rawResp.readBool(byteIdx);
285
(tmp, byteIdx) = rawResp.readBytes(byteIdx);
0 commit comments