Code Monkey home page Code Monkey logo

Comments (6)

maoueh avatar maoueh commented on July 18, 2024

That is expected behavior, key should represents a valid ECC PublicKey, hence why it's ecc.PublicKey, use key.String() to get back the string representation.

from eos-go.

biancheng347 avatar biancheng347 commented on July 18, 2024

The back-end
json:{
"key": "string"
}

The get_account method returns key: ""

If I get the ecc.pubkey object and I have no problem with key.string (), how can I now be compatible with back-end key:string

from eos-go.

biancheng347 avatar biancheng347 commented on July 18, 2024

Also, how to get http body raw data method and why, mainly if the method model is not consistent with the backend json, we can parse it ourselves with body.

from eos-go.

maoueh avatar maoueh commented on July 18, 2024

Sorry, probably barrier of language, I don't understand your problem at all. Provide exact reproduction case so I can see what you mean.

If you want HTTP body raw, make the request yourself using net/http package offered by Golang.

from eos-go.

biancheng347 avatar biancheng347 commented on July 18, 2024

I mean if key is a string, get_account is acceptable. Instead of key is the structure

from eos-go.

anthonyzzy avatar anthonyzzy commented on July 18, 2024

哈喽哥们 @biancheng347,我是EOS Canada原成员。你可以说中文解释你的问题,我帮你跟 matt 翻译

from eos-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.