Skip to content

Commit

Permalink
Update gjson to version 1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
RainFallsSilent committed Oct 26, 2021
1 parent 87f4ba7 commit c13f18d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cr/state/keyframe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ func randomProposalKeyframe() *ProposalKeyFrame {
for j := uint64(0); j < i; j++ {
reserverCustomIDs = append(reserverCustomIDs, randomString())
}
proposalKeyFrame.ReservedCustomIDLists = append(proposalKeyFrame.ReservedCustomIDLists, reserverCustomIDs)
proposalKeyFrame.ReservedCustomIDLists = append(proposalKeyFrame.ReservedCustomIDLists, reserverCustomIDs...)
}

var receivedCustomIDs []string
Expand All @@ -550,7 +550,7 @@ func randomProposalKeyframe() *ProposalKeyFrame {
for j := uint64(0); j < i; j++ {
receivedCustomIDs = append(receivedCustomIDs, randomString())
}
proposalKeyFrame.ReceivedCustomIDLists = append(proposalKeyFrame.ReceivedCustomIDLists, receivedCustomIDs)
proposalKeyFrame.ReceivedCustomIDLists = append(proposalKeyFrame.ReceivedCustomIDLists, receivedCustomIDs...)
}
return proposalKeyFrame
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ require (
github.com/rs/cors v1.7.0
github.com/stretchr/testify v1.4.0
github.com/syndtr/goleveldb v1.0.0
github.com/tidwall/gjson v1.3.2
github.com/tidwall/gjson v1.8.1
github.com/urfave/cli v1.22.0
github.com/yuin/gopher-lua v0.0.0-20190514113301-1cd887cd7036
golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876
Expand Down

0 comments on commit c13f18d

Please sign in to comment.