Skip to content

Commit fac78c1

Browse files
committed
nits
Signed-off-by: Sam Batschelet <sam.batschelet@avalabs.org>
1 parent d5832f1 commit fac78c1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

snow/engine/snowman/getter/getter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ func (gh *getter) GetAccepted(ctx context.Context, nodeID ids.NodeID, requestID
150150
func (gh *getter) GetAncestors(ctx context.Context, nodeID ids.NodeID, requestID uint32, blkID ids.ID) error {
151151
ancestorsBytes, err := block.GetAncestors(
152152
ctx,
153+
gh.log,
153154
gh.vm,
154155
blkID,
155156
gh.cfg.AncestorsMaxContainersSent,

vms/rpcchainvm/vm_server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,12 +655,12 @@ func (vm *VMServer) GetAncestors(ctx context.Context, req *vmpb.GetAncestorsRequ
655655

656656
blocks, err := block.GetAncestors(
657657
ctx,
658+
vm.log,
658659
vm.vm,
659660
blkID,
660661
maxBlksNum,
661662
maxBlksSize,
662663
maxBlocksRetrivalTime,
663-
vm.log,
664664
)
665665
return &vmpb.GetAncestorsResponse{
666666
BlksBytes: blocks,

0 commit comments

Comments
 (0)