Code Monkey home page Code Monkey logo

Comments (5)

maoueh avatar maoueh commented on August 17, 2024

Can you check with develop branch of the repository?

go get github.com/eoscanada/eos-go@develop

A PR was merged recently (#177) to add support for PVT_K1 keys so pretty sure it's going to solve your issue.

from eos-go.

zhitunAI avatar zhitunAI commented on August 17, 2024

=== RUN Test_NewPrivateKey
--- FAIL: Test_NewPrivateKey (0.01s)
=== RUN Test_NewPrivateKey/K1
62P38aQ2bHygD6EMu2ixxSKM1F3odyG4vKmaMft9NkMezVkNnK
5HqzgYUXD5XJC3SGJ6gwqgunguZEecA9meZ4LkepAX4YZ5cFRdN
pubkey_test.go:31:
Error Trace: G:\go\chain\src\pubkey_test.go:31
Error: Not equal:
expected: "62P38aQ2bHygD6EMu2ixxSKM1F3odyG4vKmaMft9NkMezVkNnK"
actual : "5HqzgYUXD5XJC3SGJ6gwqgunguZEecA9meZ4LkepAX4YZ5cFRdN"

    	            	Diff:
    	            	--- Expected
    	            	+++ Actual
    	            	@@ -1 +1 @@
    	            	-62P38aQ2bHygD6EMu2ixxSKM1F3odyG4vKmaMft9NkMezVkNnK
    	            	+5HqzgYUXD5XJC3SGJ6gwqgunguZEecA9meZ4LkepAX4YZ5cFRdN
    	Test:       	Test_NewPrivateKey/K1
--- FAIL: Test_NewPrivateKey/K1 (0.01s)

预期:62P38aQ2bHygD6EMu2ixxSKM1F3odyG4vKmaMft9NkMezVkNnK
实际:5HqzgYUXD5XJC3SGJ6gwqgunguZEecA9meZ4LkepAX4YZ5cFRdN

from eos-go.

zhitunAI avatar zhitunAI commented on August 17, 2024

Revised content updated

from eos-go.

zhitunAI avatar zhitunAI commented on August 17, 2024

PVT_K1_2i6s2S8cxJw33zFuF3keAfUJjKSUJ53qVH7ac4veCuPVCpUSp
The number of bytes is different from the privkey_test.go
PVT_K1_9FN3K4JhzaMsw2Duzr1ijHzVecHtqg1QG4ZCX9udh69Z7QGTk

from eos-go.

zhitunAI avatar zhitunAI commented on August 17, 2024

@maoueh

https://www.eosgeneratekey.com/
The key can be verified through this website

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.