iotaledger / bee

A framework for IOTA nodes, clients and applications in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Skip values that are set to `0` in dto serialization

Thoralf-M opened this issue · comments

Description

For example unixTime in an expiration unlock condition, is now skipped during the serialization if it's set to 0

Motivation

Compatibility

Requirements

  1. Make these fields optional iotaledger/iota.go@ee47d60

Are you planning to do it yourself in a pull request?

No.

Go's omitempty also considers 0 as "empty" ?

Yes