Skip to content

Commit

Permalink
cli: change block timestamp attribute of objects in upload-bin
Browse files Browse the repository at this point in the history
Close #3654

Signed-off-by: Ekaterina Pavlova <ekt@morphbits.io>
  • Loading branch information
AliceInHunterland committed Dec 13, 2024
1 parent 283ca5c commit 7d19f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/util/upload_bin.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func uploadBlocksAndIndexFiles(ctx *cli.Context, p poolWrapper, rpc *rpcclient.C
*object.NewAttribute("Primary", strconv.Itoa(int(blk.PrimaryIndex))),
*object.NewAttribute("Hash", blk.Hash().StringLE()),
*object.NewAttribute("PrevHash", blk.PrevHash.StringLE()),
*object.NewAttribute("Timestamp", strconv.FormatUint(blk.Timestamp, 10)),
*object.NewAttribute("BlockTime", strconv.FormatUint(blk.Timestamp, 10)),
}

var (
Expand Down

0 comments on commit 7d19f00

Please sign in to comment.