From 137df5c9d883590fc4f8c38276d0bd13aa5c45ef Mon Sep 17 00:00:00 2001 From: wit Date: Mon, 19 Jan 2026 16:54:46 +0800 Subject: [PATCH] core: remove unused ErrInsufficientBalanceWitness --- core/error.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/error.go b/core/error.go index 635d802863..e55673296c 100644 --- a/core/error.go +++ b/core/error.go @@ -66,11 +66,6 @@ var ( // than init code size limit. ErrMaxInitCodeSizeExceeded = errors.New("max initcode size exceeded") - // ErrInsufficientBalanceWitness is returned if the transaction sender has enough - // funds to cover the transfer, but not enough to pay for witness access/modification - // costs for the transaction - ErrInsufficientBalanceWitness = errors.New("insufficient funds to cover witness access costs for transaction") - // ErrInsufficientFunds is returned if the total cost of executing a transaction // is higher than the balance of the user's account. ErrInsufficientFunds = errors.New("insufficient funds for gas * price + value")