To make the API a bit more user friendly for iOS developers, iota_ios_pow_trytes and iota_ios_pow_bundle should accept an NSNumber instead of uint8_t for mwm. The conversion to uint8_t is done inside the function by converting mwm to unsigned char and then casting it to uint8_t.
To make the API a bit more user friendly for iOS developers,
iota_ios_pow_trytes
andiota_ios_pow_bundle
should accept anNSNumber
instead ofuint8_t
formwm
. The conversion touint8_t
is done inside the function by convertingmwm
tounsigned char
and then casting it touint8_t
.Test Plan:
Tested in demo app