// MutateSetOptions for Thresholds sets the SetOptionsOp's thresholds fields func (m Thresholds) MutateSetOptions(o *xdr.SetOptionsOp) (err error) { if m.Low != nil { val := xdr.Uint32(*m.Low) o.LowThreshold = &val } if m.Medium != nil { val := xdr.Uint32(*m.Medium) o.MedThreshold = &val } if m.High != nil { val := xdr.Uint32(*m.High) o.HighThreshold = &val } return }