Fix observation endpoints, change setHash to hash (#61)

This commit is contained in:
walker-16 2023-01-18 12:31:25 -03:00 committed by GitHub
parent f4f96655a8
commit 669fe6d16e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ type ObservationDoc struct {
EmitterChain vaa.ChainID `bson:"emitterChain" json:"emitterChain"`
EmitterAddr string `bson:"emitterAddr" json:"emitterAddr"`
Sequence string `bson:"sequence" json:"sequence"`
Hash []byte `bson:"SetHash" json:"SetHash"`
Hash []byte `bson:"hash" json:"hash"`
TxHash []byte `bson:"txHash" json:"txHash"`
GuardianAddr string `bson:"guardianAddr" json:"guardianAddr"`
Signature []byte `bson:"signature" json:"signature"`