Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An authorization question #1039

Open
goPercy opened this issue Apr 11, 2019 · 0 comments
Open

An authorization question #1039

goPercy opened this issue Apr 11, 2019 · 0 comments

Comments

@goPercy
Copy link

goPercy commented Apr 11, 2019

itest give authorization to 8576WBfDJ5FjQ92KN2jCZXFScJwrf3XWLrCQHMaiAF8b, while 8576WBfDJ5FjQ92KN2jCZXFScJwrf3XWLrCQHMaiAF8b is also iuser of activie key. when transaction packaged by Iwallet and send by iuser, publisher is shown as iuser. This is confusing. Is authorized user and pk equivalent in implementation? An unauthorized account becomes publisher, even if the signature key is consistent.

in testnet
network_id 12D3KooWQwH8BTC4QMpTxm7u4Bj38ZdaCLSA1uJ4io3o1j8FCqYE

itest -> 8576WBfDJ5FjQ92KN2jCZXFScJwrf3XWLrCQHMaiAF8b 
iuser:  active_public_key : 8576WBfDJ5FjQ92KN2jCZXFScJwrf3XWLrCQHMaiAF8b
iwallet --account iuser call 'token.iost' 'transfer' '["iost","itest","ireceive","1.0","”]’
# hash: 9WKZi3qZqG13iw8wbGKx9X7eBteSYNhY19YvdoaeDggy

9WKZi3qZqG13iw8wbGKx9X7eBteSYNhY19YvdoaeDggy data :

...
"signers": [
        ],
        "publisher": "iuser",
        "referredTx": "",
        "amountLimit": [
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant