change getStakeWeight uint64 to uint64_t to match wallet function (type issue)