You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.
It might be the case that privateKey.Serialize() should be printed with %s instead. i.e. fmt.Printf("Private key (hex):\t%s\n\n", privateKey.Serialize()). Something with the underlying byte array I guess.
example with %x:
This is your private key, granting access to all wallet funds. Keep it safe. Use it only when sending Kaspa.
Private key (hex): 30653434666662646262313565313665653961313830346234613766343162396539326463383038633031623737316235373166303133333562373133356665
These are your public addresses for each network, where money is to be sent.
Address (mainnet): kaspa:qql35gahdwdjhdtcp8em4ced8fu2dv9fzve6zyy3mp
Address (testnet): kaspatest:qql35gahdwdjhdtcp8em4ced8fu2dv9fzvfm3y824r
Address (devnet): kaspadev:qql35gahdwdjhdtcp8em4ced8fu2dv9fzvjkwqzjkw
example with %s:
This is your private key, granting access to all wallet funds. Keep it safe. Use it only when sending Kaspa.
Private key (hex): b4eb8c3174d394befcdd0a48b3408ccfbf629991047c07d5790a71ec9118c2ae
These are your public addresses for each network, where money is to be sent.
Address (mainnet): kaspa:qpmunw2emgjj8p8x8wk9elqf6yjkmu06vscyamexu9
Address (testnet): kaspatest:qpmunw2emgjj8p8x8wk9elqf6yjkmu06vsg9wm6aj8
Address (devnet): kaspadev:qpmunw2emgjj8p8x8wk9elqf6yjkmu06vsng3ll932
The text was updated successfully, but these errors were encountered:
wildmolasses
changed the title
Example wallet private key: printf bug
Example wallet private key: printf bug?
Jul 8, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi! As I'm stepping through this project I'm really admiring the work you've done. I may have found a small bug in the example wallet:
kasparov/examples/wallet/create.go
Line 19 in 5cca792
It might be the case that
privateKey.Serialize()
should be printed with%s
instead. i.e.fmt.Printf("Private key (hex):\t%s\n\n", privateKey.Serialize())
. Something with the underlying byte array I guess.example with
%x
:example with
%s
:The text was updated successfully, but these errors were encountered: