Skip to content

Commit

Permalink
fix readonly estimation
Browse files Browse the repository at this point in the history
  • Loading branch information
pivilartisant committed Jan 10, 2025
1 parent 83b2778 commit be8132b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion int/api/cmd/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func CreateReadOnlyResult(result sendOperation.ReadOnlyResult) models.ReadOnlyRe
Balance: &models.ChangeSet{
Set: oldChange.Update.Balance.Set,
},
Bytecode: oldChange.Update.Bytecode,
Bytecode: oldChange.Update.Bytecode.(string),
Datastore: oldChange.Update.Datastore,
},
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/node/sendoperation/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ type LedgerEntryChange struct {

type LedgerUpdate struct {
Balance ChangeSet `json:"balance"`
Bytecode string `json:"bytecode"`
Bytecode interface{} `json:"bytecode"`
Datastore []interface{} `json:"datastore"`
}

Expand Down

0 comments on commit be8132b

Please sign in to comment.