Skip to content

Commit 236bc02

Browse files
authored
Merge pull request #74 from filecoin-project/asr/fix-rpc-connection-error
fix: setup RPCConnectionError with pointer
2 parents e014905 + d9c7e30 commit 236bc02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

errors.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func NewErrors() Errors {
3232
return Errors{
3333
byType: map[reflect.Type]ErrorCode{},
3434
byCode: map[ErrorCode]reflect.Type{
35-
-1111111: reflect.TypeOf(RPCConnectionError{}),
35+
-1111111: reflect.TypeOf(&RPCConnectionError{}),
3636
},
3737
}
3838
}

0 commit comments

Comments
 (0)