add missing Chain.getStateDB() method

that's actually called from getStorageNode()
This commit is contained in:
Ștefan Talpalaru 2019-03-13 01:13:59 +01:00
parent 75909da652
commit 0c2d7638eb
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 4 additions and 0 deletions

View File

@ -63,3 +63,7 @@ method persistBlocks*(c: Chain, headers: openarray[BlockHeader], bodies: openarr
c.db.persistReceipts(vmState.receipts)
transaction.commit()
method getStateDb*(c: Chain): TrieDatabaseRef {.gcsafe.} =
c.db.db