Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/godcap/portal.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func (p *DcapPortal) WaitTx(ctx context.Context, tx *types.Transaction) <-chan *
continue
}

logex.Infof("tx receipt %v comfirmed on %v", tx.Hash(), receipt.BlockNumber)
logex.Infof("tx receipt %v confirmed on %v", tx.Hash(), receipt.BlockNumber)
if p.chain.Explorer != "" {
logex.Infof("explorer: %v/tx/%v", p.chain.Explorer, tx.Hash())
}
Expand Down Expand Up @@ -294,7 +294,7 @@ func (p *DcapPortal) VerifyAndAttestOnChain(opts *bind.TransactOpts, rawQuote []
// Note: EnableZkProof() should be called before using this function.
func (p *DcapPortal) GenerateZkProof(ctx context.Context, ty zkdcap.ZkType, quote []byte) (*zkdcap.ZkProof, error) {
if p.zkProof == nil {
return nil, logex.NewErrorf("DcapPortal should call EnableZkProof() frist")
return nil, logex.NewErrorf("DcapPortal should call EnableZkProof() first")
}
parser := parser.NewQuoteParser(quote)
collateral, err := zkdcap.NewCollateralFromQuoteParser(ctx, parser, p.pccs)
Expand Down