channeldb: derive PaymentStatus implicitly from stored info

This commit is contained in:
Johan T. Halseth
2019-05-23 20:05:31 +02:00
parent d705b8a013
commit 95b4828780
3 changed files with 15 additions and 41 deletions

View File

@@ -53,10 +53,6 @@ var (
//
paymentsRootBucket = []byte("payments-root-bucket")
// paymentStatusKey is a key used in the payment's sub-bucket to store
// the status of the payment.
paymentStatusKey = []byte("payment-status-key")
// paymentDublicateBucket is the name of a optional sub-bucket within
// the payment hash bucket, that is used to hold duplicate payments to
// a payment hash. This is needed to support information from earlier