Skip to content

Commit d10cdc7

Browse files
fix(message): use gojson
1 parent 0859a53 commit d10cdc7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

message.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
bin "github.com/gagliardetto/binary"
2525
"github.com/gagliardetto/treeout"
26-
jsoniter "github.com/json-iterator/go"
26+
gojson "github.com/goccy/go-json"
2727

2828
"github.com/gagliardetto/solana-go/text"
2929
)
@@ -242,7 +242,7 @@ func (mx *Message) UnmarshalJSON(data []byte) error {
242242
Header MessageHeader `json:"header"`
243243
RecentBlockhash Hash `json:"recentBlockhash"`
244244
Instructions []CompiledInstruction `json:"instructions"`
245-
AddressTableLookups *jsoniter.RawMessage `json:"addressTableLookups"`
245+
AddressTableLookups *gojson.RawMessage `json:"addressTableLookups"`
246246
}{}
247247
if err := json.Unmarshal(data, &aux); err != nil {
248248
return err

0 commit comments

Comments
 (0)