Error on create a new account from Hyperledger iroha using swift

267 views Asked by At

I tried to download and build the iroha-ios from iroha iOS github then started to use the sample project to create a new account. I have deployed an iroha server on my PC. When I run the program, it prints out an error like this.

SwiftyIrohaExample.Iroha_Protocol_QueryResponse:
error_response {
  reason: STATEFUL_INVALID
  message: "query signatories did not pass validation"
}

When I checked the hash that is produced on the log in Xcode, it doesn't exist in the iroha system. What step did I miss?

1

There are 1 answers

6
Sara G On BEST ANSWER

Unfortunately, the libraries might not be up-to-date all the time. At the moment one of the maintainers fixed the library to work with develop branch. Here: https://bitbucket.org/Emkil/swiftyiroha/