Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dot/types): *types.Body to be of type []types.Extrinsic #1807

Merged
merged 13 commits into from
Oct 5, 2021
2 changes: 1 addition & 1 deletion dot/types/body.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func NewBodyFromExtrinsicStrings(ss []string) (*Body, error) {

// DeepCopy creates a new copy of the body.
func (b *Body) DeepCopy() Body {
newExtrinsics := make([]Extrinsic, len([]Extrinsic(*b)))
newExtrinsics := []Extrinsic{}
kishansagathiya marked this conversation as resolved.
Show resolved Hide resolved

for _, e := range []Extrinsic(*b) {
temp := make([]byte, len(e))
Expand Down