Skip to content

Commit

Permalink
refactor: remove dummy structs
Browse files Browse the repository at this point in the history
  • Loading branch information
hopeyen committed Dec 18, 2024
1 parent efb9cf8 commit e5a162b
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions core/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -619,27 +619,11 @@ type ReservedPayment struct {
QuorumSplits []byte
}

func DummyReservedPayment() *ReservedPayment {
return &ReservedPayment{
SymbolsPerSecond: 0,
StartTimestamp: 0,
EndTimestamp: 0,
QuorumNumbers: []uint8{},
QuorumSplits: []byte{},
}
}

type OnDemandPayment struct {
// Total amount deposited by the user
CumulativePayment *big.Int
}

func DummyOnDemandPayment() *OnDemandPayment {
return &OnDemandPayment{
CumulativePayment: big.NewInt(0),
}
}

type BlobVersionParameters struct {
CodingRate uint32
MaxNumOperators uint32
Expand Down

0 comments on commit e5a162b

Please sign in to comment.