Skip to content

Commit

Permalink
Explorer: fix signatures (MystenLabs#3437)
Browse files Browse the repository at this point in the history
  • Loading branch information
666lcz authored Jul 22, 2022
1 parent 3acc69d commit f49c793
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const initState: TxnState = {
txSignature: '',
authSignInfo: {
epoch: 0,
signatures: [],
signature: [],
},
status: 'success',
gasFee: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function TransactionView({ txdata }: { txdata: DataType }) {

const validatorSignatureData = {
title: 'Validator Signatures',
content: txdata.authSignInfo.signatures.map((validatorSign) => ({
content: txdata.authSignInfo.signature.map((validatorSign) => ({
value: validatorSign,
monotypeClass: true,
})),
Expand Down
6 changes: 3 additions & 3 deletions explorer/client/src/utils/static/mock_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@
"txSignature": "PdUYEsl7ELW2xuBkkR2+T9LNYhYDkYyMXB9KrpWQhW1O0rqQFUnaN/zRNlG687urc0gMqqEzaB7X3z6qxnyiC8eSU1B+GYwODN677Gg4RKJsnoD9MoDgLfbD5KlmW6t0",
"authSignInfo": {
"epoch": 0,
"signatures": [
"signature": [
"LsI1DK+7kkcMx5DWb6bxuVPtkwCP4TJAjvVw2NosuJNgtfC0w6aP7JqD4MCMm/c/FBQ/wFP3nb6yck2gy4XkAw==",
"2d4WcVIS3cKSnk4csYDMyZSNtE3JiYoBh+ylYfjVNrjQAIgligEkM1Msk4vRwVDoRBjHkFILGmO/SQE8UP+bCg==",
"ZLWlGHYGf7wCThex8Hhl+ooea20vfXKjMbq8Xg1WGWxdqwVr18JoJWa8xR6DlVS7gwDPgrVYYVr2/fqurJ3nCw=="
Expand Down Expand Up @@ -1172,7 +1172,7 @@
"txSignature": "SWQ7hAuhkrky4Kxq0lfelPz8NfWr9IbpyBp4gcnULBjzw+G+t/l0pM0fNtNbXmSGo4GIXW6uHirlT9eiZcJnAMeSU1B+GYwODN677Gg4RKJsnoD9MoDgLfbD5KlmW6t0",
"authSignInfo": {
"epoch": 0,
"signatures": [
"signature": [
"6R+WxlZ80e53aRxr0R44Kzz9xVm3+0WgvuRYp43Z3BNrUYVfPX8kEVIjwGQ/5JCs5IbzKQh2TR+Geazj6LLwAg==",
"DvKi7uns1j97P2/U/ZjsGoBa9n413AXKRa/zyzKZlzpc3vvF90kN4U96DSQIH+OS5MMWGD1eI0Z0EaYRiVzsAg==",
"rWUlaHfK+fKKyGjzEgfQoKhxRf175JnPevX0IVa5kUxgpdGiMhSRCJ2ZIWpnfDwlRJQdQrWBkovW2JzNycVsCA=="
Expand Down Expand Up @@ -1241,7 +1241,7 @@
"certificate": {
"authSignInfo": {
"epoch": 0,
"signatures": [
"signature": [
"PlOlGgEpHkq40F8Z8kdcze0diuNKuLCOCR41SIbv3ePBYZF/EHmJDnDzFbqdnCEqRGTbKeWdi8+GOlgqJ2O4Bg==",
"VVIuzJzLJQ91Dsr/IVclhDHlV3kyBGUqUcBLMiFawhimhZNjq476y5ERb42E9fmftTFOeoRl3J9/KEWmq3J8Dg==",
"HcfTrhvCqBqRXNL2FqI91JXbzFn1BsGUIO3jc7sQSKQP62fe4+orJFHjvYVHcLAJHURrn4R7bpXr6XsTbdc/DQ=="
Expand Down

0 comments on commit f49c793

Please sign in to comment.