tx · BKo7rXHTvEqryHnZs4bhxaLt39ZnAHBAqwPqv7ohejgM
3Mt5BW4KVsvfxGUYuDqcfDMeoacc5GPn179: -0.01400000 Waves
2019.03.13 11:42 [534114] smart account 3Mt5BW4KVsvfxGUYuDqcfDMeoacc5GPn179 > SELF 0.00000000 Waves
{
"type": 13,
"id": "BKo7rXHTvEqryHnZs4bhxaLt39ZnAHBAqwPqv7ohejgM",
"fee": 1400000,
"feeAssetId": null,
"timestamp": 1552466515973,
"version": 1,
"sender": "3Mt5BW4KVsvfxGUYuDqcfDMeoacc5GPn179",
"senderPublicKey": "F7KHa5J2ja7H22YreD3YJ8rBEFcvpa3DvQhFG4ZUXk8P",
"proofs": [
"5Mak8g5s6kWFCqAVezMu6eApn6DGQMcxRUqa4qLTgzbuDRUuBLjL1Ms8oYkDDzNKnyfMGKzZpdBxJmeDy3yUv1aG"
],
"script": "base64:AQMJAAH0AAAAAwgFAAAAAnR4AAAACWJvZHlCeXRlcwkAAZEAAAACCAUAAAACdHgAAAAGcHJvb2ZzAAAAAAAAAAAACAUAAAACdHgAAAAPc2VuZGVyUHVibGljS2V5BAAAAAckbWF0Y2gwBQAAAAJ0eAMJAAABAAAAAgUAAAAHJG1hdGNoMAIAAAATVHJhbnNmZXJUcmFuc2FjdGlvbgQAAAAEdHJUeAUAAAAHJG1hdGNoMAQAAAAHcG9zSGFzaAkBAAAAB2V4dHJhY3QAAAABCQAEHQAAAAIIBQAAAAJ0eAAAAAZzZW5kZXICAAAABmhhc2gyNAkAAAAAAAACCQAB9wAAAAEIBQAAAAR0clR4AAAACmF0dGFjaG1lbnQJAAJZAAAAAQUAAAAHcG9zSGFzaAYHBkypGg==",
"chainId": 84,
"height": 534114,
"spentComplexity": 0
}
View: original | compacted
Prev: aPq9jWxCiR52pXh6EsXb9VWidixvMNCqpVPDhKNxH5M
Next: CNoxk28gimvkmSTdms1auXjxycev9fkiWZnoLSNMKUY9
Diff:
Old | New | | Differences |
---|
4 | 4 | | then match tx { |
---|
5 | 5 | | case trTx: TransferTransaction => |
---|
6 | 6 | | let posHash = extract(getString(tx.sender, "hash24")) |
---|
7 | | - | (sha256(trTx.attachment) == toBytes(posHash)) |
---|
| 7 | + | (sha256(trTx.attachment) == fromBase58String(posHash)) |
---|
8 | 8 | | case _ => |
---|
9 | 9 | | true |
---|
10 | 10 | | } |
---|
Full:
Old | New | | Differences |
---|
1 | 1 | | {-# STDLIB_VERSION 1 #-} |
---|
2 | 2 | | {-# CONTENT_TYPE EXPRESSION #-} |
---|
3 | 3 | | if (sigVerify(tx.bodyBytes, tx.proofs[0], tx.senderPublicKey)) |
---|
4 | 4 | | then match tx { |
---|
5 | 5 | | case trTx: TransferTransaction => |
---|
6 | 6 | | let posHash = extract(getString(tx.sender, "hash24")) |
---|
7 | | - | (sha256(trTx.attachment) == toBytes(posHash)) |
---|
| 7 | + | (sha256(trTx.attachment) == fromBase58String(posHash)) |
---|
8 | 8 | | case _ => |
---|
9 | 9 | | true |
---|
10 | 10 | | } |
---|
11 | 11 | | else false |
---|