-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix backwards compatibility #285
Conversation
|
||
var notImplemented = errors.New("method not implemented") | ||
|
||
var CallDataMock = func() []byte { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing mock comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added
@@ -480,16 +480,15 @@ func getStatusFromBuff(buff []byte) (byte, error) { | |||
|
|||
func addBatchInfo(builder builders.VMQueryBuilder, batch *clients.TransferBatch) { | |||
for _, dt := range batch.Deposits { | |||
if dt.Data == nil { | |||
continue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this a dead code? Are there any chances to have a nil data here? Maybe log.Error as this is a programming error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed. it was actually dead code and anyway the builder would throw an error when executing the query ift data field would be nil
Minor refactor for the ConvertToDisplayableData function
No description provided.