mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-05 13:06:20 +00:00
block: rename BlockBase to Base
This commit is contained in:
parent
63c56cca5c
commit
489b88afbb
14 changed files with 41 additions and 41 deletions
|
@ -262,7 +262,7 @@ func TestGetBlock_NotExists(t *testing.T) {
|
|||
func TestPutGetBlock(t *testing.T) {
|
||||
dao := newDao(storage.NewMemoryStore())
|
||||
b := &block.Block{
|
||||
BlockBase: block.BlockBase{
|
||||
Base: block.Base{
|
||||
Script: transaction.Witness{
|
||||
VerificationScript: []byte{byte(opcode.PUSH1)},
|
||||
InvocationScript: []byte{byte(opcode.NOP)},
|
||||
|
@ -303,7 +303,7 @@ func TestGetCurrentHeaderHeight_NoHeader(t *testing.T) {
|
|||
func TestGetCurrentHeaderHeight_Store(t *testing.T) {
|
||||
dao := newDao(storage.NewMemoryStore())
|
||||
b := &block.Block{
|
||||
BlockBase: block.BlockBase{
|
||||
Base: block.Base{
|
||||
Script: transaction.Witness{
|
||||
VerificationScript: []byte{byte(opcode.PUSH1)},
|
||||
InvocationScript: []byte{byte(opcode.NOP)},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue