diff --git a/data/mock/pubkeyConverterStub.go b/data/mock/pubkeyConverterStub.go index 61a2b1896..df4950cd7 100644 --- a/data/mock/pubkeyConverterStub.go +++ b/data/mock/pubkeyConverterStub.go @@ -1,12 +1,14 @@ package mock +import "github.com/ElrondNetwork/elrond-go-core/core" + // PubkeyConverterStub - type PubkeyConverterStub struct { LenCalled func() int DecodeCalled func(humanReadable string) ([]byte, error) EncodeCalled func(pkBytes []byte) (string, error) EncodeSliceCalled func(pkBytesSlice [][]byte) ([]string, error) - QuietEncodeCalled func(pkBytes []byte) string + QuietEncodeCalled func(pkBytes []byte, log core.Logger) string } // Len - @@ -46,9 +48,9 @@ func (pcs *PubkeyConverterStub) EncodeSlice(pkBytesSlice [][]byte) ([]string, er } // QuietEncode - -func (pcs *PubkeyConverterStub) QuietEncode(pkBytes []byte) string { +func (pcs *PubkeyConverterStub) QuietEncode(pkBytes []byte, log core.Logger) string { if pcs.EncodeCalled != nil { - return pcs.QuietEncodeCalled(pkBytes) + return pcs.QuietEncodeCalled(pkBytes, log) } return ""