X-Git-Url: http://git.osdn.net/view?p=bytom%2Fvapor.git;a=blobdiff_plain;f=protocol%2Fvalidation%2Ftx.go;h=68bac2ea6c92f9e6c7ad989e2bbc514852ac74eb;hp=d7cc42b5eb52af4247b5e438211515ffa63e8943;hb=db01c294fbb586e39ef26cd07df8bceb8a0d207e;hpb=9b2794c6ce4d2d545be954e8780961a3bf4c718a diff --git a/protocol/validation/tx.go b/protocol/validation/tx.go index d7cc42b5..68bac2ea 100644 --- a/protocol/validation/tx.go +++ b/protocol/validation/tx.go @@ -255,6 +255,7 @@ func checkValid(vs *validationState, e bc.Entry) (err error) { if err = checkValidDest(&vs2, e.WitnessDestination); err != nil { return errors.Wrap(err, "checking cross-chain input destination") } + vs.gasStatus.StorageGas = 0 case *bc.Spend: if e.SpentOutputId == nil {