update keycard-go to avoid panic on resp.Sw when resp is nil

This commit is contained in:
Andrea Franz 2021-10-22 13:43:28 +02:00
parent 19d8b0b3a1
commit 28232c5ed3
No known key found for this signature in database
GPG Key ID: 4F0D2F2D9DE7F29D
3 changed files with 5 additions and 1 deletions

View File

@ -360,6 +360,8 @@ github.com/status-im/keycard-go v0.0.0-20211019092400-6448707c0dd9 h1:I2RY+KBHiC
github.com/status-im/keycard-go v0.0.0-20211019092400-6448707c0dd9/go.mod h1:EyC0vqnPRbDQGq3j4Ej9lSP/nKE8DwwjTwfQ0Yan6SQ=
github.com/status-im/keycard-go v0.0.0-20211022094747-07b455f49c05 h1:F3Jd745+qDIbezXxWglJ6ydleKnUOS7BCuqnXB3jb+c=
github.com/status-im/keycard-go v0.0.0-20211022094747-07b455f49c05/go.mod h1:97vT0Rym0wCnK4B++hNA3nCetr0Mh1KXaVxzSt1arjg=
github.com/status-im/keycard-go v0.0.0-20211022114056-24b008288867 h1:SvyugEbRxUw9Uk8U+U6NoUIknp4VrEi6HZW5b+mTVS0=
github.com/status-im/keycard-go v0.0.0-20211022114056-24b008288867/go.mod h1:97vT0Rym0wCnK4B++hNA3nCetr0Mh1KXaVxzSt1arjg=
github.com/steakknife/bloomfilter v0.0.0-20180922174646-6819c0d2a570/go.mod h1:8OR4w3TdeIHIh1g6EMY5p0gVNOovcWC+1vpc7naMuAw=
github.com/steakknife/hamming v0.0.0-20180906055917-c99c65617cd3/go.mod h1:hpGUWaI9xL8pRQCTXQgocU38Qw1g0Us7n5PxxTwTCYU=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=

2
go.mod
View File

@ -5,7 +5,7 @@ go 1.16
require (
github.com/ebfe/scard v0.0.0-20190212122703-c3d1b1916a95
github.com/ethereum/go-ethereum v1.10.11
github.com/status-im/keycard-go v0.0.0-20211022094747-07b455f49c05
github.com/status-im/keycard-go v0.0.0-20211022114056-24b008288867
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519
golang.org/x/sys v0.0.0-20211020174200-9d6173849985 // indirect
golang.org/x/text v0.3.7

2
go.sum
View File

@ -329,6 +329,8 @@ github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnIn
github.com/status-im/keycard-go v0.0.0-20190316090335-8537d3370df4/go.mod h1:RZLeN1LMWmRsyYjvAu+I6Dm9QmlDaIIt+Y+4Kd7Tp+Q=
github.com/status-im/keycard-go v0.0.0-20211022094747-07b455f49c05 h1:F3Jd745+qDIbezXxWglJ6ydleKnUOS7BCuqnXB3jb+c=
github.com/status-im/keycard-go v0.0.0-20211022094747-07b455f49c05/go.mod h1:97vT0Rym0wCnK4B++hNA3nCetr0Mh1KXaVxzSt1arjg=
github.com/status-im/keycard-go v0.0.0-20211022114056-24b008288867 h1:SvyugEbRxUw9Uk8U+U6NoUIknp4VrEi6HZW5b+mTVS0=
github.com/status-im/keycard-go v0.0.0-20211022114056-24b008288867/go.mod h1:97vT0Rym0wCnK4B++hNA3nCetr0Mh1KXaVxzSt1arjg=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.0/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=