Skip to main content Link Menu Expand (external link) Document Search Copy Copied

perun-eth-backend GitHub

PR #36 Fix `Asset.UnmarshallBinary` not working
- The method did not have a pointer receiver and thus could not set the value, resulting in the previous (default) value instead of the just unmarshalled one. - Additionally, the order was different from `Asset.MarshallBinary`, which meant unmarshalling a value just marshalled would result in the wrong value or an error. The added test coveres both these cases. Signed-off-by: Jens Winkle <jens@perun.network>
Created At 2023-01-05 14:58:56 +0000 UTC