File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ type GetVersionResponse struct {
1010
1111// GetVersionResult is a part of raw rpc response of `getVersion`
1212type GetVersionResult struct {
13- SolanaCore string `json:"solana-core"`
14- FeatureSet uint64 `json:"feature-set"`
13+ SolanaCore string `json:"solana-core"`
14+ FeatureSet * uint32 `json:"feature-set"`
1515}
1616
1717// GetVersion returns the current solana versions running on the node
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ package rpc
33import (
44 "context"
55 "testing"
6+
7+ "github.com/portto/solana-go-sdk/pkg/pointer"
68)
79
810func TestGetVersion (t * testing.T ) {
@@ -23,7 +25,7 @@ func TestGetVersion(t *testing.T) {
2325 },
2426 Result : GetVersionResult {
2527 SolanaCore : "1.7.14" ,
26- FeatureSet : 1824749018 ,
28+ FeatureSet : pointer . Uint32 ( 1824749018 ) ,
2729 },
2830 },
2931 ExpectedError : nil ,
You can’t perform that action at this time.
0 commit comments