Skip to content

Commit

Permalink
Changed type of LastDuplicate field to a string from a CID
Browse files Browse the repository at this point in the history
  • Loading branch information
rosalinekarr committed Jan 18, 2019
1 parent b155d84 commit 8424aae
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions network-protocols.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ type StorageDealProposal struct {
// Duration is how long the file should be stored for
Duration NumBlocks

// LastDuplicate is the CID of the last proposal created with identical
// values. This field effectively changes the CID of the current proposal,
// preventing collisions. This field can also be used for looking up
// previous proposals, however it will not be considered a reliable source
// for this information as data can be lost.
LastDuplicate Cid
// LastDuplicate is a string of the CID of the last proposal created with
// identical values. This field effectively changes the CID of the current
// proposal, preventing collisions. This field can also be used for looking
// up previous proposals, however it will not be considered a reliable
// source for this information as data can be lost.
LastDuplicate String

// PaymentRef is a reference to the mechanism that the proposer
// will use to pay the miner. It should be verifiable by the
Expand Down

0 comments on commit 8424aae

Please sign in to comment.