diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..1f1025f23 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +.idea +.DS_Store \ No newline at end of file diff --git a/exts/getput/getput.go b/exts/getput/getput.go index 0b56afa6b..fa9bc2d50 100644 --- a/exts/getput/getput.go +++ b/exts/getput/getput.go @@ -20,6 +20,7 @@ import ( type GetResult struct { Seq int64 V bencode.Bytes + Sig [64]byte Mutable bool } @@ -46,6 +47,7 @@ func startGetTraversal( select { case vChan <- GetResult{ V: rv, + Sig: r.Sig, Mutable: false, }: case <-ctx.Done(): @@ -55,6 +57,7 @@ func startGetTraversal( case vChan <- GetResult{ Seq: *r.Seq, V: rv, + Sig: r.Sig, Mutable: true, }: case <-ctx.Done():