tx · BWkvkbZdFn6Z4ke2JBJ54UU3E2Z4fnj4RTaCJcM1T4Kk
3MwugYAiToQJAofPPWTosLaNqb6dT3w6Wm1: -0.01400000 Waves
2019.12.05 13:51 [795333] smart account 3MwugYAiToQJAofPPWTosLaNqb6dT3w6Wm1 > SELF 0.00000000 Waves
{
"type": 13,
"id": "BWkvkbZdFn6Z4ke2JBJ54UU3E2Z4fnj4RTaCJcM1T4Kk",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1575543111607,
"version": 1,
"sender": "3MwugYAiToQJAofPPWTosLaNqb6dT3w6Wm1",
"senderPublicKey": "7Cth3vi3QxBv1kwYSqPKPwp2tiddiotbKz9KHPE3SLJ9",
"proofs": [
"5UxeyD2jCWtoiFVCn6MvApzBSWEyZMG1h2ZpGkoP8AE5uY2BkY6HJMTFuuzVEbMo5TyyHFxrkxU7YsU8prQfdkbc"
],
"script": "base64:AwQAAAAHJG1hdGNoMAUAAAACdHgDCQAAAQAAAAIFAAAAByRtYXRjaDACAAAAE1RyYW5zZmVyVHJhbnNhY3Rpb24EAAAAAXQFAAAAByRtYXRjaDAEAAAACHBhc3N3b3JkAgAAAEBjNzg4Y2QxYWEzOTRiMDNlZjc1YTc0ZWQ3MjRhYTU1NjU2ZjY3YjczNDAxYjVlMjIyZmFlMzYxYzljMTZmNzBlBAAAAApwYXNzU2VjcmV0CQACWAAAAAEJAAH3AAAAAQkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAABAwkAAAAAAAACBQAAAAhwYXNzd29yZAUAAAAKcGFzc1NlY3JldAYJAAACAAAAAQkAAlgAAAABCQABkQAAAAIIBQAAAAJ0eAAAAAZwcm9vZnMAAAAAAAAAAAEJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V55iPOfw==",
"chainId": 84,
"height": 795333,
"spentComplexity": 0
}
View: original | compacted
Prev: 4J9uCXP8rbYijABYDLawC5hB1egFRYRMWXzifHVNcB5Q
Next: 2eeZBNFsfnP8XaevyjGALLMzUU2C5UULwG4jm2uaBb2Z
Diff:
Old | New | | Differences |
---|
3 | 3 | | match tx { |
---|
4 | 4 | | case t: TransferTransaction => |
---|
5 | 5 | | let password = "c788cd1aa394b03ef75a74ed724aa55656f67b73401b5e222fae361c9c16f70e" |
---|
6 | | - | let passSecret = toBase64String(sha256(tx.proofs[1])) |
---|
| 6 | + | let passSecret = toBase58String(sha256(tx.proofs[1])) |
---|
7 | 7 | | if ((password == passSecret)) |
---|
8 | 8 | | then true |
---|
9 | | - | else throw(toBase64String(tx.proofs[1])) |
---|
| 9 | + | else throw(toBase58String(tx.proofs[1])) |
---|
10 | 10 | | case _ => |
---|
11 | 11 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
12 | 12 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 3 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | match tx { |
---|
4 | 4 | | case t: TransferTransaction => |
---|
5 | 5 | | let password = "c788cd1aa394b03ef75a74ed724aa55656f67b73401b5e222fae361c9c16f70e" |
---|
6 | | - | let passSecret = toBase64String(sha256(tx.proofs[1])) |
---|
| 6 | + | let passSecret = toBase58String(sha256(tx.proofs[1])) |
---|
7 | 7 | | if ((password == passSecret)) |
---|
8 | 8 | | then true |
---|
9 | | - | else throw(toBase64String(tx.proofs[1])) |
---|
| 9 | + | else throw(toBase58String(tx.proofs[1])) |
---|
10 | 10 | | case _ => |
---|
11 | 11 | | sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey) |
---|
12 | 12 | | } |
---|